diff options
-rw-r--r-- | loading_data_from_files/script.rst | 79 | ||||
-rw-r--r-- | loading_data_from_files/slides.org | 4 | ||||
-rw-r--r-- | loading_data_from_files/slides.tex | 22 | ||||
-rw-r--r-- | other_types_of_plots/script.rst | 46 | ||||
-rw-r--r-- | other_types_of_plots/slides.org | 5 | ||||
-rw-r--r-- | other_types_of_plots/slides.tex | 69 | ||||
-rw-r--r-- | plotting_data/script.rst | 72 | ||||
-rw-r--r-- | plotting_data/slides.org | 48 | ||||
-rw-r--r-- | plotting_data/slides.tex | 74 | ||||
l--------- | template/.#slides.tex | 1 | ||||
-rw-r--r-- | template/slides.org | 2 | ||||
-rw-r--r-- | template/slides.tex | 23 |
12 files changed, 233 insertions, 212 deletions
diff --git a/loading_data_from_files/script.rst b/loading_data_from_files/script.rst index fd05ed3..b0d3245 100644 --- a/loading_data_from_files/script.rst +++ b/loading_data_from_files/script.rst @@ -30,7 +30,7 @@ team along with the logo of MHRD }}} .. R1 -Hello Friends. Welcome to this tutorial on "loading data from files". +Hello Friends and Welcome to this tutorial on "loading data from files". .. L2 @@ -41,7 +41,8 @@ Hello Friends. Welcome to this tutorial on "loading data from files". At the end of this tutorial, you will be able to, 1. Read data from files, containing a single column of data - #. Read multiple columns of data, separated by spaces or other delimiters. + #. Read multiple columns of data, separated by spaces or other + delimiters. .. L3 @@ -58,7 +59,8 @@ Let us switch to the terminal and start IPython, using ipython -pylab Now, Let us begin with reading the file primes.txt, which contains a list of prime numbers listed in a column, using the loadtxt command. -Please make sure that you provide the correct path of the file 'primes.txt'. +Please make sure that you provide the correct path of the file, +'primes.txt'. The file, in our case, is present in ``/home/fossee/primes.txt``. .. L4 @@ -72,7 +74,8 @@ The file, in our case, is present in ``/home/fossee/primes.txt``. .. R5 -Otherwise we can use the ``cat`` command to locate the file and read the contents of it. +Otherwise we can use the ``cat`` command to locate the file and read the +contents of it. .. R6 @@ -85,8 +88,8 @@ Now let us read this list into the variable ``primes``. .. R7 -``primes`` is now a sequence of prime numbers, that was listed in the file, -``primes.txt``. +``primes`` is now a sequence of prime numbers, that was listed in the +file,``primes.txt``. We now type, ``print primes`` to see the sequence printed. @@ -106,11 +109,11 @@ because these numbers are actually read as ``floats``. .. R9 -Now, let us use the ``loadtxt`` command to read a file ``pendulum.txt`` that contains -two columns of data. This file contains the length +Now, let us use the ``loadtxt`` command to read a file ``pendulum.txt`` +that contains two columns of data. This file contains the length of the pendulum in the first column and the corresponding time period -in the second. Note that here ``loadtxt`` needs both the columns to have -equal number of rows. +in the second. Note that here ``loadtxt`` needs both the columns to +have equal number of rows. We use the ``cat`` command to view the contents of this file. @@ -170,6 +173,10 @@ separate sequences instead of one complex sequence. .. L14 +.. L15 + +{{{ Show slide with exercise 1 }}} + .. R15 Till now, we have learnt the basic use of the ``loadtxt`` @@ -181,35 +188,39 @@ Read the file ``pendulum_semicolon.txt`` which contains the same data as ``pendulum.txt``, but the columns are separated by semi-colons instead of spaces. Use the IPython help to see how to do this. -.. L15 +.. L16 {{{ switch back to the terminal }}} :: - L, T = loadtxt('/home/fossee/pendulum_semicolon.txt', unpack=True, delimiter=';') + L, T = loadtxt('/home/fossee/pendulum_semicolon.txt', unpack=True, + delimiter=';') + + print L - print L + print T - print T +.. R16 -.. L16 +.. L17 {{{ show the summary slide }}} -.. R16 +.. R17 -This brings us to the end of this tutorial. -let's revise quickly what we have learnt today.In this tutorial we learnt, +This brings us to the end of this tutorial.In this tutorial, +we have learnt to, - 1. To Read data from files, containing a single column of data using the - ``loadtxt`` command. - #. To Read multiple columns of data, separated by spaces or other delimiters. + 1. To Read data from files, containing a single column of data + using the ``loadtxt`` command. + #. To Read multiple columns of data, separated by spaces or other + delimiters. -.. L17 +.. L18 {{Show self assessment questions slide}} -.. R17 +.. R18 1. ``loadtxt`` can read data from a file with one column only. True or False? @@ -221,35 +232,37 @@ let's revise quickly what we have learnt today.In this tutorial we learnt, ":", read it into 3 separate simple sequences. -.. L18 +.. L19 {{{solution of self assessment questions on slide}}} -.. R18 +.. R19 And the answers, -1. False. ``loadtxt`` command can read data from files having both single columns as well as - multiple columns. +1. False. ``loadtxt`` command can read data from files having both single + columns as well as multiple columns. -2. A file with three columns of data seperated by spaces to be read into 3 seperate sequences, +2. A file with three columns of data seperated by spaces to be read into + 3 seperate sequences, we use the loadtxt command as, :: x = loadtxt("data.txt", unpack=True) -3. If a file with three columns of data seperated by delimiters,we read it into three seperate sequences - by using an additional argument of delimiter in the loadtxt command +3. If a file with three columns of data seperated by delimiters,we read + it into three seperate sequences by using an additional argument of + delimiter in the loadtxt command :: x = loadtxt("data.txt", unpack=True, delimiter=":") -.. L19 +.. L20 {{{ Show the Thankyou slide }}} -.. R19 +.. R20 -Hope you have enjoyed and found it useful. +Hope you have enjoyed this tutorial and found it useful. Thank you! diff --git a/loading_data_from_files/slides.org b/loading_data_from_files/slides.org index ae693ac..ae92a06 100644 --- a/loading_data_from_files/slides.org +++ b/loading_data_from_files/slides.org @@ -33,7 +33,7 @@ #+begin_latex \begin{center} \vspace{12pt} -\textcolor{blue}{\huge Loading Data from Files}} +\textcolor{blue}{\huge Loading Data from Files} \end{center} \vspace{18pt} \begin{center} @@ -51,7 +51,7 @@ - Read data from files with a single column of data. - Read data from files with multiple columns seperated by spaces and other delimiters. -* Question 1 +* Exercise 1 Read the file ~pendulum\_semicolon.txt~ which contains the same data as ~pendulum.txt~ , but the columns are seperated by semi-colons instead of spaces.Use the IPython help to see how to do this. diff --git a/loading_data_from_files/slides.tex b/loading_data_from_files/slides.tex index 1a8cc3a..00e0df5 100644 --- a/loading_data_from_files/slides.tex +++ b/loading_data_from_files/slides.tex @@ -1,4 +1,4 @@ -% Created 2011-05-06 Fri 12:18 +% Created 2011-05-23 Mon 14:23 \documentclass[presentation]{beamer} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} @@ -43,14 +43,18 @@ showstringspaces=false, keywordstyle=\color{blue}\bfseries} \begin{frame} \begin{center} -\textcolor{blue}{Loading Data from Files} +\vspace{12pt} +\textcolor{blue}{\huge Loading Data from Files} \end{center} +\vspace{18pt} \begin{center} -\includegraphics[scale=0.25]{../images/iitb-logo.png}\\ -Developed by FOSSEE Team, IIT-Bombay. \\ -Funded by National Mission on Education through ICT - -MHRD, Govt. of India +\vspace{10pt} +\includegraphics[scale=0.95]{../images/fossee-logo.png}\\ +\vspace{5pt} +\scriptsize Developed by FOSSEE Team, IIT-Bombay. \\ +\scriptsize Funded by National Mission on Education through ICT\\ +\scriptsize MHRD,Govt. of India\\ +\includegraphics[scale=0.30]{../images/iitb-logo.png}\\ \end{center} \end{frame} \begin{frame} @@ -66,7 +70,7 @@ MHRD, Govt. of India \end{itemize} \end{frame} \begin{frame} -\frametitle{Question 1} +\frametitle{Exercise 1} \label{sec-3} Read the file \verb~pendulum\_semicolon.txt~ which contains the same data @@ -113,8 +117,6 @@ MHRD, Govt. of India \end{enumerate} \end{frame} \begin{frame} -\frametitle{Acknowledgement} -\label{sec-7} \begin{block}{} \begin{center} diff --git a/other_types_of_plots/script.rst b/other_types_of_plots/script.rst index 5fc636f..d87cb8c 100644 --- a/other_types_of_plots/script.rst +++ b/other_types_of_plots/script.rst @@ -44,8 +44,8 @@ Hello Friends and welcome to the tutorial on ``Types of plots``. .. R2 -Till now we have seen only one kind of plotting.Hence in this tutorial we will be looking at -some more kinds of plots. +Till now we have seen only one kind of plotting.Hence in this tutorial +we will be looking atn some more kinds of plots. At the end of this tutorial, you will be able to @@ -59,13 +59,18 @@ Let us begin with the scatter plot. .. L3 +{{{ Show slide with pre-requisite }}} + {{{ switch to the next slide, scatter plot }}} .. R3 +Before beginning this tutorial,we would suggest you to complete the +tutorial on "Loading data from files" and "Plotting data". + In a scatter plot, the data is displayed as a collection of points, -where each point determines it's position on the horizontal axis and the vertical axis -respectively.This kind of plot is also called a +where each point determines it's position on the horizontal axis and the +vertical axis respectively.This kind of plot is also called a scatter chart, a scatter diagram or a scatter graph. .. R4 @@ -83,7 +88,7 @@ ipython -pylab }}} .. L5 -{{{ switch to the slide having Question 1 }}} +{{{ switch to the slide having exercise 1 }}} .. R5 @@ -147,7 +152,7 @@ y-coordinate, the profit percentage. .. L11 -{{{ switch to the next slide Question 2 }}} +{{{ switch to the next slide exercise 2 }}} .. R11 @@ -176,7 +181,7 @@ sectors, illustrating proportion. .. L14 -{{{ switch to the slide showing Question 3 }}} +{{{ switch to the slide showing exercise 3 }}} .. R14 @@ -206,12 +211,13 @@ pie chart. .. L17 -{{{ switch to the next slide with Question 4 }}} +{{{ switch to the next slide with exercise 4 }}} .. R17 Plot a pie chart with the same data with colors for each wedges -as white, red, black, magenta,yellow, blue, green, cyan, yellow, magenta and blue respectively. +as white, red, black, magenta,yellow, blue, green, cyan, yellow, magenta +and blue respectively. Pause the video here, try out the following exercise and resume the video. @@ -235,7 +241,7 @@ they represent. .. L20 -{{{ switch to the slide showing Question 5 }}} +{{{ switch to the slide showing exercise 5 }}} .. R20 @@ -266,13 +272,13 @@ used to determine the height of the bars. .. L23 -{{{ switch to the next slide with Question 6 }}} +{{{ switch to the next slide with exercise 6 }}} .. R23 -Plot a bar chart which is not filled and which is hatched with 45\ :sup:`o` -slanting lines as shown in the image.The data for the chart may be obtained from -the file ``company-a-data.txt``. +Plot a bar chart which is not filled and which is hatched +with 45\ :sup:`o` slanting lines as shown in the image.The data for the +chart may be obtained from the file ``company-a-data.txt``. .. L24 @@ -289,15 +295,15 @@ the file ``company-a-data.txt``. .. R25 -Now let us move on to the log-log plot. A log-log graph or a log-log plot is -a two-dimensional graph of numerical data that uses logarithmic scales +Now let us move on to the log-log plot. A log-log graph or a log-log plot +is a two-dimensional graph of numerical data that uses logarithmic scales on both the horizontal and vertical axes. Because of the nonlinear scaling of the axes, a function of the form y = ax\ :sup:`b` will appear as a straight line on a log-log graph .. L26 -{{{ switch to the slide showing Question 7 }}} +{{{ switch to the slide showing exercise 7 }}} .. R26 @@ -416,8 +422,8 @@ Here are some self assessment questions for you to solve. And the answers, 1. False. Both functions do not produce the same kind of plot. -2. ``bar(x, y, fill=False, hatch='|')`` is the correct option to generate a bar - chart with vertical line hatching. +2. ``bar(x, y, fill=False, hatch='|')`` is the correct option to generate + a bar chart with vertical line hatching. .. L36 @@ -425,5 +431,5 @@ And the answers, .. R36 -Hope you have enjoyed and found it useful. +Hope you have enjoyed this tutorial and found it useful. Thank you! diff --git a/other_types_of_plots/slides.org b/other_types_of_plots/slides.org index 351b72c..56707fb 100644 --- a/other_types_of_plots/slides.org +++ b/other_types_of_plots/slides.org @@ -54,6 +54,11 @@ - Create bar charts - Create log-log plots - Use the ~matplotlib~ help +* Pre-requisite + Spoken tuorial on - + - Loading Data from Files. + - Plotting Data. + * Scatter plot Scatter plot - a collection of points,where each point determines it's position on the horizontal axis and the vertical axis diff --git a/other_types_of_plots/slides.tex b/other_types_of_plots/slides.tex index ce15a3a..d8d0686 100644 --- a/other_types_of_plots/slides.tex +++ b/other_types_of_plots/slides.tex @@ -1,4 +1,4 @@ -% Created 2011-05-09 Mon 16:28 +% Created 2011-05-23 Mon 15:48 \documentclass[presentation]{beamer} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} @@ -43,14 +43,18 @@ showstringspaces=false, keywordstyle=\color{blue}\bfseries} \begin{frame} \begin{center} -\textcolor{blue}{Types of Plots} +\vspace{12pt} +\textcolor{blue}{\huge Other types of Plots} \end{center} +\vspace{18pt} \begin{center} -\includegraphics[scale=0.25]{../images/iitb-logo.png}\\ -Developed by FOSSEE Team, IIT-Bombay. \\ -Funded by National Mission on Education through ICT - -MHRD, Govt. of India +\vspace{10pt} +\includegraphics[scale=0.95]{../images/fossee-logo.png}\\ +\vspace{5pt} +\scriptsize Developed by FOSSEE Team, IIT-Bombay. \\ +\scriptsize Funded by National Mission on Education through ICT\\ +\scriptsize MHRD,Govt. of India\\ +\includegraphics[scale=0.30]{../images/iitb-logo.png}\\ \end{center} \end{frame} \begin{frame} @@ -69,23 +73,34 @@ MHRD, Govt. of India \end{itemize} \end{frame} \begin{frame} -\frametitle{Scatter plot} +\frametitle{Pre-requisite} \label{sec-3} + Spoken tuorial on - + +\begin{itemize} +\item Loading Data from Files. +\item Plotting Data. +\end{itemize} +\end{frame} +\begin{frame} +\frametitle{Scatter plot} +\label{sec-4} + Scatter plot - a collection of points,where each point determines it's position on the horizontal axis and the vertical axis respectively. \end{frame} \begin{frame} \frametitle{Exercise 1: Scatter plot} -\label{sec-4} +\label{sec-5} Plot a scatter plot showing the percentage profit of Company A from the year 2000 to 2010. The data for the same is available in the file \verb~company-a-data.txt~. \end{frame} \begin{frame}[fragile] \frametitle{\verb~scatter()~ function} -\label{sec-5} +\label{sec-6} \begin{itemize} @@ -101,7 +116,7 @@ MHRD, Govt. of India \end{frame} \begin{frame}[fragile] \frametitle{Exercise 2: Scatter plot} -\label{sec-6} +\label{sec-7} Plot a scatter plot of the same data in \verb~company-a-data.txt~ with red diamond markers. \begin{verbatim} @@ -112,13 +127,13 @@ MHRD, Govt. of India \end{frame} \begin{frame} \frametitle{Pie chart} -\label{sec-7} +\label{sec-8} Pie chart - a circle graph divided into sectors, illustrating proportion. \end{frame} \begin{frame}[fragile] \frametitle{Exercise 3: Pie chart} -\label{sec-8} +\label{sec-9} Plot a pie chart representing the profit percentage of company A, with the data from the file \verb~company-a-data.txt~. @@ -130,7 +145,7 @@ MHRD, Govt. of India \end{frame} \begin{frame}[fragile] \frametitle{\verb~pie()~ function} -\label{sec-9} +\label{sec-10} \begin{itemize} @@ -146,7 +161,7 @@ MHRD, Govt. of India \end{frame} \begin{frame}[fragile] \frametitle{Exercise 4: Pie chart} -\label{sec-10} +\label{sec-11} Plot a pie chart with the same data with colors for each wedges as white, red, magenta, yellow, blue, green, cyan, yellow, magenta, and blue. @@ -158,14 +173,14 @@ MHRD, Govt. of India \end{frame} \begin{frame} \frametitle{Bar chart} -\label{sec-11} +\label{sec-12} Bar chart - a chart with rectangular bars with lengths proportional to the values that they represent. \end{frame} \begin{frame}[fragile] \frametitle{Exercise 5: Bar chart} -\label{sec-12} +\label{sec-13} Plot a bar chart representing the profit percentage of company A, with the data from the file \verb~company-a-data.txt~. @@ -177,7 +192,7 @@ MHRD, Govt. of India \end{frame} \begin{frame}[fragile] \frametitle{\verb~bar()~ function} -\label{sec-13} +\label{sec-14} \begin{itemize} @@ -193,7 +208,7 @@ MHRD, Govt. of India \end{frame} \begin{frame} \frametitle{Exercise 6: Bar chart} -\label{sec-14} +\label{sec-15} Plot a bar chart which is not filled and which is hatched with $45^o$ @@ -206,7 +221,7 @@ MHRD, Govt. of India \end{frame} \begin{frame} \frametitle{Log-log graph} -\label{sec-15} +\label{sec-16} \begin{itemize} @@ -220,7 +235,7 @@ MHRD, Govt. of India \end{frame} \begin{frame} \frametitle{Exercise 7:} -\label{sec-16} +\label{sec-17} Plot a log-log chart of $y = 5x^3$ @@ -228,7 +243,7 @@ MHRD, Govt. of India \end{frame} \begin{frame}[fragile] \frametitle{\verb~loglog()~ function} -\label{sec-17} +\label{sec-18} \begin{itemize} @@ -244,7 +259,7 @@ MHRD, Govt. of India \end{frame} \begin{frame} \frametitle{Getting help on \verb~matplotlib~} -\label{sec-18} +\label{sec-19} \begin{itemize} @@ -261,7 +276,7 @@ MHRD, Govt. of India \end{frame} \begin{frame} \frametitle{Summary} -\label{sec-19} +\label{sec-20} In this tutorial we learnt to, @@ -276,7 +291,7 @@ MHRD, Govt. of India \end{frame} \begin{frame} \frametitle{Evaluation} -\label{sec-20} +\label{sec-21} \begin{enumerate} @@ -298,7 +313,7 @@ MHRD, Govt. of India \end{frame} \begin{frame} \frametitle{Solutions} -\label{sec-21} +\label{sec-22} \begin{enumerate} @@ -307,8 +322,6 @@ MHRD, Govt. of India \end{enumerate} \end{frame} \begin{frame} -\frametitle{Acknowledgement} -\label{sec-22} \begin{block}{} \begin{center} diff --git a/plotting_data/script.rst b/plotting_data/script.rst index 1ccec05..5d26e62 100644 --- a/plotting_data/script.rst +++ b/plotting_data/script.rst @@ -30,19 +30,14 @@ Plotting Experimental Data .. L1 -<<<<<<< HEAD {{{ Show the first slide containing title, name of the production team along with the logo of MHRD }}} -======= -Hello and welcome to this tutorial on Plotting Experimental data, -presented by the fossee team. ->>>>>>> 1020097fa446ad8c6bdff784d5d0da9e98a55892 .. R1 -Hello Friens.Welcome to this tutorial on "Plotting Experimental data" +Hello Friens and Welcome to this tutorial on +"Plotting Experimental data". -<<<<<<< HEAD .. L2 {{{ Show the Objectives Slide }}} @@ -57,10 +52,9 @@ At the end of this tutorial, you will be able to, #. plot errorbars. .. R3 -======= + One needs to be familiar with the concepts of plotting mathematical functions in Python. ->>>>>>> 1020097fa446ad8c6bdff784d5d0da9e98a55892 We will use data from a Simple Pendulum Experiment to illustrate. @@ -73,9 +67,10 @@ We will use data from a Simple Pendulum Experiment to illustrate. As we know for a simple pendulum, length L is directly proportional to the square of time T. We shall be plotting L and T^2 values. -First we will have to initiate L and T values. We initiate them as sequence -of values. We define a sequence by comma seperated values inside two square brackets. -This is also called a List.Let's create two sequences L and t. +First we will have to initiate L and T values. We initiate them as +sequence of values. We define a sequence by comma seperated values +inside two square brackets. This is also called a List. +Let's create two sequences L and t. .. L4 @@ -88,7 +83,7 @@ This is also called a List.Let's create two sequences L and t. .. R5 To obtain the square of sequence T we will use the function square -with argument T.This is saved into the variable tsquare. +with argument T.This is saved into the variable Tsquare. .. L5 @@ -105,26 +100,14 @@ Now to plot L vs T^2, we will simply type .. L6 -<<<<<<< HEAD :: -======= -This clears the plot. - -You can also specify 'o' for big dots.:: - - plot(L,tsquare,'o') ->>>>>>> 1020097fa446ad8c6bdff784d5d0da9e98a55892 plot(L,Tsquare,'.') .. R7 -<<<<<<< HEAD -here '.' represents to plot use small dots for the point. -You can also specify 'o' for big dots. -======= -Pause video here and solve this exercise. Resume the video once done. ->>>>>>> 1020097fa446ad8c6bdff784d5d0da9e98a55892 +'.' here displays the plot in a dot pattern. +You can also specify 'o' for big dots.For this let us clear the plot first. .. L7 :: @@ -133,33 +116,28 @@ Pause video here and solve this exercise. Resume the video once done. plot(L,Tsquare,'o') clf() -.. L8 - -<<<<<<< HEAD .. R8 -For any experimental there is always an error in measurements due to -instrumental and human constraints.Now we shall try and take these errors into -account in our plots . +LKet us move further.For any experimental there is always an error in +measurements due to instrumental and human constraints.Now we shall try +and take these errors into account in our plots . + +.. L8 .. L9 -{{{ Show the slide 'Question 1' }}} +{{{ Show the slide 'Exercise 1' }}} .. R9 Pause the video here, try out the following exercise and resume the video. -======= -.. #[[Anoop: Make sure code is correct, corrected plot(L,t,o) to - plot(L,t,'o')]] ->>>>>>> 1020097fa446ad8c6bdff784d5d0da9e98a55892 Plot the given experimental data with large dots.The data is on your screen. .. L10 -{{{ Show slide "Question 1 data' }}} +{{{ Show slide 'Exercise 1 data' }}} .. R10 @@ -167,7 +145,8 @@ The error data we will use is on your screen. .. R11 -We shall again intialize the sequence values in the same manner as we did for L and T. +We shall again intialize the sequence values in the same manner as we +did for L and T. .. L11 @@ -209,11 +188,7 @@ of errorbar. :: -<<<<<<< HEAD errorbar? -======= -Please, pause the video here. Do the exercises and then continue. ->>>>>>> 1020097fa446ad8c6bdff784d5d0da9e98a55892 .. L15 @@ -240,13 +215,14 @@ The data is on your screen .. R17 -let's revise quickly what we have learnt today.In this tutorial we learnt +This brings us to the end of the end of this tutorial.In this tutorial, +we have learnt to, 1. to declare a sequence of numbers using the function ``array``. #. to perform elemtwise squaring using the ``square`` function. #. to use the various options available for plotting like dots,lines. -#. to Plot experimental data such that we can also represent error by using the - ``errorbar()`` function. +#. to Plot experimental data such that we can also represent error by + using the ``errorbar()`` function. .. R18 @@ -286,6 +262,6 @@ And the answers, .. R20 -Hope you have enjoyed and found it useful. +Hope you have enjoyed this tutorial and found it useful. Thank You! diff --git a/plotting_data/slides.org b/plotting_data/slides.org index a0159d0..e4750dd 100644 --- a/plotting_data/slides.org +++ b/plotting_data/slides.org @@ -68,43 +68,43 @@ | 0.8 | 1.83 | | 0.9 | 1.94 | -* Question 1 +* Exercise 1 Plot the given experimental data with large dots. -* Question 1 Data +* Exercise 1 Data #+ORGTBL: L vs T^2 orgtbl-to-latex - | L | T | - | 0.08 | 0.04 | - | 0.09 | 0.08 | - | 0.07 | 0.03 | - | 0.05 | 0.05 | - | 0.06 | 0.03 | - | 0.00 | 0.03 | - | 0.06 | 0.04 | - | 0.06 | 0.07 | - | 0.01 | 0.08 | + | \delta L | \delta T | + | 0.08 | 0.04 | + | 0.09 | 0.08 | + | 0.07 | 0.03 | + | 0.05 | 0.05 | + | 0.06 | 0.03 | + | 0.00 | 0.03 | + | 0.06 | 0.04 | + | 0.06 | 0.07 | + | 0.01 | 0.08 | -* Question 2 +* Exercise 2 Plot the given experimental data with small dots. -* Question 2 Data +* Exercise 2 Data #+ORGTBL: L vs T^2 orgtbl-to-latex - | P | D | - | 1.48 | 0.68 | - | 2.96 | 0.89 | - | 4.44 | 1.18 | - | 5.92 | 1.29 | - | 7.40 | 1.46 | - | 8.88 | 1.57 | - | 10.3 | 1.76 | - | 11.8 | 1.82 | - | 13.3 | 1.93 | + | S | n | \delta S | \delta n | + | 0.19 | 10.74 | 0.006 | 0.61 | + | 0.38 | 14.01 | 0.006 | 0.69 | + | 0.57 | 18.52 | 0.005 | 0.53 | + | 0.77 | 20.23 | 0.003 | 0.38 | + | 0.96 | 22.88 | 0.004 | 0.46 | + | 1.15 | 24.59 | 0.007 | 0.37 | + | 1.34 | 27.55 | 0.004 | 0.46 | + | 1.54 | 28.48 | 0.004 | 0.46 | + | 1.73 | 30.20 | 0.007 | 0.37 | * Summary In this tutorial, we have learnt to – diff --git a/plotting_data/slides.tex b/plotting_data/slides.tex index 0a1bfbb..cca46dc 100644 --- a/plotting_data/slides.tex +++ b/plotting_data/slides.tex @@ -1,4 +1,4 @@ -% Created 2011-05-06 Fri 17:36 +% Created 2011-05-23 Mon 15:35 \documentclass[presentation]{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} @@ -43,14 +43,18 @@ showstringspaces=false, keywordstyle=\color{blue}\bfseries} \begin{frame} \begin{center} -\textcolor{blue}{Plotting Data} +\vspace{12pt} +\textcolor{blue}{\huge Plotting Data} \end{center} - \begin{center} -\includegraphics[scale=0.25]{../images/iitb-logo.png}\\ -Developed by FOSSEE Team, IIT-Bombay. \\ -Funded by National Mission on Education through ICT - -MHRD, Govt. of India +\vspace{18pt} +\begin{center} +\vspace{10pt} +\includegraphics[scale=0.95]{../images/fossee-logo.png}\\ +\vspace{5pt} +\scriptsize Developed by FOSSEE Team, IIT-Bombay. \\ +\scriptsize Funded by National Mission on Education through ICT\\ +\scriptsize MHRD,Govt. of India\\ +\includegraphics[scale=0.30]{../images/iitb-logo.png}\\ \end{center} \end{frame} \begin{frame} @@ -93,7 +97,7 @@ MHRD, Govt. of India \end{frame} \begin{frame} -\frametitle{Question 1} +\frametitle{Exercise 1} \label{sec-4} Plot the given experimental data with large dots. @@ -101,7 +105,7 @@ MHRD, Govt. of India \end{frame} \begin{frame} -\frametitle{Question 1 Data} +\frametitle{Exercise 1 Data} \label{sec-5} @@ -110,16 +114,16 @@ MHRD, Govt. of India \begin{center} \begin{tabular}{rr} - L & T \\ - 0.08 & 0.04 \\ - 0.09 & 0.08 \\ - 0.07 & 0.03 \\ - 0.05 & 0.05 \\ - 0.06 & 0.03 \\ - 0.00 & 0.03 \\ - 0.06 & 0.04 \\ - 0.06 & 0.07 \\ - 0.01 & 0.08 \\ + $\delta$ L & $\delta$ T \\ + 0.08 & 0.04 \\ + 0.09 & 0.08 \\ + 0.07 & 0.03 \\ + 0.05 & 0.05 \\ + 0.06 & 0.03 \\ + 0.00 & 0.03 \\ + 0.06 & 0.04 \\ + 0.06 & 0.07 \\ + 0.01 & 0.08 \\ \end{tabular} \end{center} @@ -127,30 +131,30 @@ MHRD, Govt. of India \end{frame} \begin{frame} -\frametitle{Question 2} +\frametitle{Exercise 2} \label{sec-6} Plot the given experimental data with small dots. \end{frame} \begin{frame} -\frametitle{Question 2 Data} +\frametitle{Exercise 2 Data} \label{sec-7} \begin{center} -\begin{tabular}{rr} - P & D \\ - 1.48 & 0.68 \\ - 2.96 & 0.89 \\ - 4.44 & 1.18 \\ - 5.92 & 1.29 \\ - 7.40 & 1.46 \\ - 8.88 & 1.57 \\ - 10.3 & 1.76 \\ - 11.8 & 1.82 \\ - 13.3 & 1.93 \\ +\begin{tabular}{rrrr} + S & n & $\delta$ S & $\delta$ n \\ + 0.19 & 10.74 & 0.006 & 0.61 \\ + 0.38 & 14.01 & 0.006 & 0.69 \\ + 0.57 & 18.52 & 0.005 & 0.53 \\ + 0.77 & 20.23 & 0.003 & 0.38 \\ + 0.96 & 22.88 & 0.004 & 0.46 \\ + 1.15 & 24.59 & 0.007 & 0.37 \\ + 1.34 & 27.55 & 0.004 & 0.46 \\ + 1.54 & 28.48 & 0.004 & 0.46 \\ + 1.73 & 30.20 & 0.007 & 0.37 \\ \end{tabular} \end{center} @@ -181,6 +185,7 @@ MHRD, Govt. of India \begin{itemize} \item distance\_values=[2.1,4.6,8.72,9.03] \end{itemize} +\vspace{8pt} \item Plot L v/s T in red plusses. \end{enumerate} \end{frame} @@ -191,12 +196,11 @@ MHRD, Govt. of India \begin{enumerate} \item square(distance\_values) +\vspace{8pt} \item plot(L,T,'r+') \end{enumerate} \end{frame} \begin{frame} -\frametitle{Acknowledgement} -\label{sec-11} \begin{block}{} \begin{center} diff --git a/template/.#slides.tex b/template/.#slides.tex deleted file mode 120000 index 3cd2846..0000000 --- a/template/.#slides.tex +++ /dev/null @@ -1 +0,0 @@ -jovina@endymion.2223:1305793979
\ No newline at end of file diff --git a/template/slides.org b/template/slides.org index 14c49d4..5d657f6 100644 --- a/template/slides.org +++ b/template/slides.org @@ -19,7 +19,7 @@ #+LaTeX_HEADER: commentstyle=\color{red}\itshape, stringstyle=\color{darkgreen}, #+LaTeX_HEADER: showstringspaces=false, keywordstyle=\color{blue}\bfseries} -#+TITLE: +#+TITLE: #+AUTHOR: FOSSEE #+EMAIL: #+DATE: diff --git a/template/slides.tex b/template/slides.tex index b467142..e69785f 100644 --- a/template/slides.tex +++ b/template/slides.tex @@ -73,7 +73,7 @@ At the end of this tutorial,you will be able to, Spoken tutorial on - \begin{itemize} -\item +\item Topic of tutorial here \end{itemize} \end{frame} \begin{frame} @@ -88,7 +88,7 @@ Spoken tutorial on - \begin{itemize} -\item +\item Put question here \end{itemize} \end{frame} \begin{frame} @@ -103,12 +103,15 @@ Spoken tutorial on - \begin{frame} \frametitle{Exercise 2} \label{sec-7} + +\begin{itemize} +\item Put question here +\end{itemize} \end{frame} \begin{frame} \frametitle{Solution 2} \label{sec-8} - \begin{itemize} \item Solution either on terminal or slide \end{itemize} @@ -129,9 +132,9 @@ In this tutorial,we have learnt to - Put self-assessment questions here \begin{enumerate} -1. -2. -3. +\item +\item +\item \end{enumerate} \end{frame} \begin{frame} @@ -140,9 +143,9 @@ Put self-assessment questions here Put answers to the self-assessment questions here \begin{enumerate} -1. -2. -3. +\item +\item +\item \end{enumerate} \end{frame} \begin{frame} @@ -159,4 +162,4 @@ Put answers to the self-assessment questions here For more Information, visit our website\\ \url{http://fossee.in/} \end{center} -\end{block}
\ No newline at end of file +\end{block} |