reviewed plotting-data.
authorAnoop Jacob Thomas<anoop@fossee.in>
Sun, 07 Nov 2010 19:47:26 +0530
changeset 399 3c16961361cd
parent 398 36295bb91766
child 402 9bf3411b264d
reviewed plotting-data.
plotting-data/questions.rst
plotting-data/script.rst
plotting-data/slides.tex
--- a/plotting-data/questions.rst	Sun Nov 07 18:36:59 2010 +0530
+++ b/plotting-data/questions.rst	Sun Nov 07 19:47:26 2010 +0530
@@ -23,10 +23,16 @@
 
    By passing an extra parameter '.'.
 
+.. #[[Anoop: It can better if asked as, How do you plot the data as
+   points using plot function?]]
+
 4. What does the parameter 'o' do ?
 
    It plots large points.
 
+.. #[[Anoop: give an example and ask what it does, like plot(x, y,
+   'o'), that makes the question simple]]
+
 5. How do you plot error in Python?
 
    Using the function error bar.
--- a/plotting-data/script.rst	Sun Nov 07 18:36:59 2010 +0530
+++ b/plotting-data/script.rst	Sun Nov 07 19:47:26 2010 +0530
@@ -16,38 +16,50 @@
 
      
 .. Author              : Amit 
-   Internal Reviewer   :  
+   Internal Reviewer   : Anoop Jacob Thomas<anoop@fossee.in> 
    External Reviewer   :
    Checklist OK?       : <put date stamp here, if OK> [2010-10-05]
 
+.. #[[Anoop: Add quickref]]
+.. #[[Anoop: Slides are incomplete, add summary slide, thank you slide
+   etc.]]
+
+===============================
 Plotting   Experimental  Data  
-=============================   
+===============================   
+
+{{{ Show the slide containing title }}}
+
 Hello  and welcome , this tutorial on  Plotting Experimental data is 
 presented by the fossee  team.  
 
-{{{ Show the slide containing title }}}
+{{{ Show the Outline Slide }}}
 
-
-{{{ Show the Outline Slide }}}
+.. #[[Anoop: outline slide is missing]]
 
 Here  we will discuss plotting  Experimental data. 
 
 1. We will see how we can represent a sequence of numbers in Python. 
 
-2. We will also become fimiliar with  elementwise squaring of such a
+2. We will also become familiar with  elementwise squaring of such a
 sequence. 
 
 3. We will also see how we can use our graph to indicate Error.
 
-One needs   to  be  fimiliar  with  the   concepts  of  plotting
+One needs   to  be  familiar  with  the   concepts  of  plotting
 mathematical functions in Python.
 
 We will use  data from a Simple Pendulum  Experiment to illustrate our
 points. 
 
+.. #[[Anoop: what do you mean by points here? if you mean the
+   points/numbered list in outline slide, then remove the usage point
+   from here.]]
+
 {{{ Simple Pendulum data Slide }}} 
 
-  
+.. #[[Anoop: slides are incomplete, work on slides and context
+   switches]]
   
   
 As we know for a simple pendulum length,L is directly  proportional to 
@@ -59,14 +71,20 @@
 comma  seperated values inside two square brackets.  This is also  called List 
 so to create two sequences
 
-L,t type in ipython shell. ::
+.. #[[Anoop: instead of saying "to tell ipython a sequence of values"
+   and make it complicated, we can tell, we define a sequence as]]
+
+L,t type in ipython shell.
+
+.. #[[Anoop: sentence is incomplete, can be removed]]
+
+::
 
     In []: L = [0.1, 0.2, 0.3, 0.4, 0.5,0.6, 0.7, 0.8, 0.9]
     
     In []: t= [0.69, 0.90, 1.19,1.30, 1.47, 1.58, 1.77, 1.83, 1.94]
 
-
-  
+ 
 To obtain the  square of sequence t we will  use the function square
 with argument t.This is saved into the variable tsquare.::
 
@@ -75,10 +93,14 @@
    array([  0.4761, 0.81 , 1.4161,  1.69 , 2.1609,  2.4964, 3.1329, 
    3.3489, 3.7636])
 
+.. #[[Anoop: how do you get the array([ 0.4761 ....]) output?]]
+
   
 Now to plot L vs T^2 we will simply type ::
 
-  In []: plot(L,t,.)
+  In []: plot(L,t,'.')
+
+.. #[[Anoop: be consistent with the spacing and all.]]
 
 '.' here represents to plot use small dots for the point. ::
 
@@ -86,17 +108,26 @@
 
 You can also specify 'o' for big dots.::
  
-  In []: plot(L,t,o)
+  In []: plot(L,t,'o')
 
   In []: clf()
 
 
+.. #[[Anoop: Make sure code is correct, corrected plot(L,t,o) to
+   plot(L,t,'o')]]
+
 {{{ Slide with Error data included }}}
 
+.. #[[Anoop: again slides are incomplete.]]
 
 Now we  shall try  and take into  account error  into our plots . The
 Error values for L and T  are on your screen.We shall again intialize
-the sequence values in the same manner as we did for L and t ::
+the sequence values in the same manner as we did for L and t
+
+.. #[[Anoop: give introduction to error and say what we are going to
+   do]]
+
+::
 
   In []: delta_L= [0.08,0.09,0.07,0.05,0.06,0.00,0.06,0.06,0.01]
   
@@ -111,10 +142,12 @@
     
     In []: errorbar(L,tsquare,xerr=delta_L, yerr=delta_T, fmt='b.')
 
-This gives a  plot with error bar for  x and y axis. The  dots are of blue color. The parameters xerr and yerr are error on x and y axis and fmt is the format of the plot. 
+This gives a plot with error bar for x and y axis. The dots are of
+blue color. The parameters xerr and yerr are error on x and y axis and
+fmt is the format of the plot.
 
 
-similarly we can draw the same error bar with big red dots just change 
+similarly we can draw the same error bar with big red dots just change
 the parameters to fmt to 'ro'. ::
 
     In []: clf()
@@ -143,7 +176,7 @@
 
  {{{ Show the "sponsored by FOSSEE" slide }}}
 
-
+.. #[[Anoop: again slides are incomplete]]
 
 This tutorial was created as a part of FOSSEE project.
 
@@ -151,8 +184,3 @@
 
  Thankyou
 
- 
-
-Author              : Amit Sethi
-Internal Reviewer   :
-Internal Reviewer 2 : 
--- a/plotting-data/slides.tex	Sun Nov 07 18:36:59 2010 +0530
+++ b/plotting-data/slides.tex	Sun Nov 07 19:47:26 2010 +0530
@@ -1,21 +1,28 @@
-% Created 2010-10-28 Thu 15:05
+% Created 2010-11-07 Sun 18:57
 \documentclass[presentation]{beamer}
-\usetheme{Warsaw}\useoutertheme{infolines}\usecolortheme{default}\setbeamercovered{transparent}
 \usepackage[latin1]{inputenc}
 \usepackage[T1]{fontenc}
+\usepackage{fixltx2e}
 \usepackage{graphicx}
 \usepackage{longtable}
 \usepackage{float}
 \usepackage{wrapfig}
 \usepackage{soul}
+\usepackage{t1enc}
+\usepackage{textcomp}
+\usepackage{marvosym}
+\usepackage{wasysym}
+\usepackage{latexsym}
 \usepackage{amssymb}
 \usepackage{hyperref}
-
+\tolerance=1000
+\providecommand{\alert}[1]{\textbf{#1}}
 
 \title{Plotting Experimental Data}
 \author{FOSSEE}
 \date{2010-09-14 Tue}
 
+\usetheme{Warsaw}\useoutertheme{infolines}\usecolortheme{default}\setbeamercovered{transparent}
 \begin{document}
 
 \maketitle
@@ -31,7 +38,7 @@
 \begin{itemize}
 
 \item Plotting Experiment Data and Error Bars\\
-\label{sec-1.1}%
+\label{sec-1_1}%
 \end{itemize} % ends low level
 \end{frame}
 \begin{frame}
@@ -40,7 +47,7 @@
 \begin{itemize}
 
 \item Plotting simple analytical Functions\\
-\label{sec-2.1}%
+\label{sec-2_1}%
 \end{itemize} % ends low level
 \end{frame}
 \begin{frame}