author  Anoop Jacob Thomas<anoop@fossee.in> 
Sat, 18 Dec 2010 12:54:49 +0530  
changeset 524  b602b4dcc87d 
parent 273  1639ef25a231 
permissions  rwrr 
524
b602b4dcc87d
Made some changes to the script embellishing a plot, but it still needs changes.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
273
diff
changeset

1 
% Created 20101218 Sat 12:25 
273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

2 
\documentclass[presentation]{beamer} 
235
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

3 
\usepackage[latin1]{inputenc} 
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

4 
\usepackage[T1]{fontenc} 
273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

5 
\usepackage{fixltx2e} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

6 
\usepackage{graphicx} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

7 
\usepackage{longtable} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

8 
\usepackage{float} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

9 
\usepackage{wrapfig} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

10 
\usepackage{soul} 
524
b602b4dcc87d
Made some changes to the script embellishing a plot, but it still needs changes.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
273
diff
changeset

11 
\usepackage{t1enc} 
273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

12 
\usepackage{textcomp} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

13 
\usepackage{marvosym} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

14 
\usepackage{wasysym} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

15 
\usepackage{latexsym} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

16 
\usepackage{amssymb} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

17 
\usepackage{hyperref} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

18 
\tolerance=1000 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

19 
\usepackage[english]{babel} \usepackage{ae,aecompl} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

20 
\usepackage{mathpazo,courier,euler} \usepackage[scaled=.95]{helvet} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

21 
\usepackage{listings} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

22 
\lstset{language=Python, basicstyle=\ttfamily\bfseries, 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

23 
commentstyle=\color{red}\itshape, stringstyle=\color{darkgreen}, 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

24 
showstringspaces=false, keywordstyle=\color{blue}\bfseries} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

25 
\providecommand{\alert}[1]{\textbf{#1}} 
235
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

26 

273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

27 
\title{Embellishing a Plot} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

28 
\author{FOSSEE} 
235
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

29 
\date{} 
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

30 

273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

31 
\usetheme{Warsaw}\usecolortheme{default}\useoutertheme{infolines}\setbeamercovered{transparent} 
235
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

32 
\begin{document} 
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

33 

273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

34 
\maketitle 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

35 

1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

36 

1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

37 

1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

38 

1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

39 

1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

40 

1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

41 

1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

42 

1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

43 

235
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

44 
\begin{frame} 
273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

45 
\frametitle{Outline} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

46 
\label{sec1} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

47 

1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

48 
\begin{itemize} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

49 
\item Modifying the color, line style \& linewidth of a plot 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

50 
\item Adding a title to the plot (with embedded \LaTeX{}) 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

51 
\item Labelling the axes 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

52 
\item Annotating the plot 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

53 
\item Setting the limits of axes. 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

54 
\end{itemize} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

55 
\end{frame} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

56 
\begin{frame} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

57 
\frametitle{Question 1} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

58 
\label{sec2} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

59 

1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

60 
Plot sin(x) in blue colour and with linewidth as 3 
235
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

61 
\end{frame} 
273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

62 
\begin{frame}[fragile] 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

63 
\frametitle{Solution 1} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

64 
\label{sec3} 
235
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

65 

524
b602b4dcc87d
Made some changes to the script embellishing a plot, but it still needs changes.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
273
diff
changeset

66 
\begin{verbatim} 
273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

67 
In []: clf() 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

68 
In []: plot(x, sin(x), 'b', linewidth=3) 
524
b602b4dcc87d
Made some changes to the script embellishing a plot, but it still needs changes.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
273
diff
changeset

69 
\end{verbatim} 
273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

70 
\end{frame} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

71 
\begin{frame} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

72 
\frametitle{Question 2} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

73 
\label{sec4} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

74 

1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

75 
Plot the sine curve with green filled circles. 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

76 
\end{frame} 
235
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

77 
\begin{frame}[fragile] 
273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

78 
\frametitle{Solution 2} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

79 
\label{sec5} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

80 

524
b602b4dcc87d
Made some changes to the script embellishing a plot, but it still needs changes.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
273
diff
changeset

81 
\begin{verbatim} 
273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

82 
In []: clf() 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

83 
In []: plot(x, cos(x), 'go') 
524
b602b4dcc87d
Made some changes to the script embellishing a plot, but it still needs changes.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
273
diff
changeset

84 
\end{verbatim} 
273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

85 
\end{frame} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

86 
\begin{frame} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

87 
\frametitle{Question 3} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

88 
\label{sec6} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

89 

1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

90 
Plot the curve of x vs tan(x) in red dashed line and linewidth 3 
235
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

91 
\end{frame} 
273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

92 
\begin{frame}[fragile] 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

93 
\frametitle{Solution 3} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

94 
\label{sec7} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

95 

524
b602b4dcc87d
Made some changes to the script embellishing a plot, but it still needs changes.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
273
diff
changeset

96 
\begin{verbatim} 
273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

97 
In []: clf() 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

98 
In []: plot(x, cos(x), 'r') 
524
b602b4dcc87d
Made some changes to the script embellishing a plot, but it still needs changes.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
273
diff
changeset

99 
\end{verbatim} 
273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

100 
\end{frame} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

101 
\begin{frame} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

102 
\frametitle{Question 4} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

103 
\label{sec8} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

104 

1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

105 
Change the title of the figure such that the whole title is 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

106 
formatted in LaTex style 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

107 
\end{frame} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

108 
\begin{frame}[fragile] 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

109 
\frametitle{Solution 4} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

110 
\label{sec9} 
235
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

111 

524
b602b4dcc87d
Made some changes to the script embellishing a plot, but it still needs changes.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
273
diff
changeset

112 
\begin{verbatim} 
273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

113 
In []: title("$Parabolic function x^2+4x5$") 
524
b602b4dcc87d
Made some changes to the script embellishing a plot, but it still needs changes.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
273
diff
changeset

114 
\end{verbatim} 
273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

115 
\end{frame} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

116 
\begin{frame} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

117 
\frametitle{Question 5} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

118 
\label{sec10} 
235
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

119 

273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

120 
Set the x and y labels as ``x'' and ``f(x)'' in LaTex style. 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

121 
\end{frame} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

122 
\begin{frame}[fragile] 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

123 
\frametitle{Solution 5} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

124 
\label{sec11} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

125 

524
b602b4dcc87d
Made some changes to the script embellishing a plot, but it still needs changes.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
273
diff
changeset

126 
\begin{verbatim} 
273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

127 
In []: xlabel("$x$") 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

128 
In []: yalbel("$f(x)$") 
524
b602b4dcc87d
Made some changes to the script embellishing a plot, but it still needs changes.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
273
diff
changeset

129 
\end{verbatim} 
273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

130 
\end{frame} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

131 
\begin{frame} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

132 
\frametitle{Question 6} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

133 
\label{sec12} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

134 

1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

135 
Make an annotation called ``root'' at the point (4, 0). What happens 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

136 
to the first annotation? 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

137 
\end{frame} 
235
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

138 
\begin{frame}[fragile] 
273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

139 
\frametitle{Solution 6} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

140 
\label{sec13} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

141 

524
b602b4dcc87d
Made some changes to the script embellishing a plot, but it still needs changes.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
273
diff
changeset

142 
\begin{verbatim} 
273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

143 
In []: annotate("root", xy=(4,0)) 
524
b602b4dcc87d
Made some changes to the script embellishing a plot, but it still needs changes.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
273
diff
changeset

144 
\end{verbatim} 
273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

145 
\end{frame} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

146 
\begin{frame} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

147 
\frametitle{Question 7} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

148 
\label{sec14} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

149 

1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

150 
Set the limits of axes such that the area of interest is the 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

151 
rectangle (1, 15) and (3, 0) 
235
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

152 
\end{frame} 
273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

153 
\begin{frame}[fragile] 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

154 
\frametitle{Solution 7} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

155 
\label{sec15} 
235
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

156 

524
b602b4dcc87d
Made some changes to the script embellishing a plot, but it still needs changes.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
273
diff
changeset

157 
\begin{verbatim} 
273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

158 
In []: xlim(1, 3) 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

159 
In []: ylim(15, 0) 
524
b602b4dcc87d
Made some changes to the script embellishing a plot, but it still needs changes.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
273
diff
changeset

160 
\end{verbatim} 
273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

161 
\end{frame} 
235
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

162 
\begin{frame} 
273
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

163 
\frametitle{Summary} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

164 
\label{sec16} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

165 

1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

166 
\begin{itemize} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

167 
\item Modifying the attributes of plot by passing additional arguments 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

168 
\item How to add title 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

169 
\item How to incorporate \LaTeX{} style formatting 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

170 
\item How to label x and y axes 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

171 
\item How to add annotations 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

172 
\item How to set the limits of axes 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

173 
\end{itemize} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

174 
\end{frame} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

175 
\begin{frame} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

176 
\frametitle{Thank you!} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

177 
\label{sec17} 
1639ef25a231
Slides for embellishing a plot LO.
Puneeth Chaganti <punchagan@fossee.in>
parents:
235
diff
changeset

178 

235
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

179 
\begin{block}{} 
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

180 
\begin{center} 
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

181 
This spoken tutorial has been produced by the 
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

182 
\textcolor{blue}{FOSSEE} team, which is funded by the 
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

183 
\end{center} 
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

184 
\begin{center} 
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

185 
\textcolor{blue}{National Mission on Education through \\ 
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

186 
Information \& Communication Technology \\ 
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

187 
MHRD, Govt. of India}. 
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

188 
\end{center} 
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

189 
\end{block} 
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

190 
\end{frame} 
80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

191 

80e4016d747a
Converted the embellishing_a_plot to new template form
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

192 
\end{document} 