# HG changeset patch # User Amit Sethi # Date 1289304423 -19800 # Node ID bb6bab81e9f2e7d6a9f4446833348054c2b906a5 # Parent 0385c3157fd1f2f16322a35663e9aea08c70d776 Changes to slides on plotting data diff -r 0385c3157fd1 -r bb6bab81e9f2 plotting-data/script.rst --- a/plotting-data/script.rst Tue Nov 09 17:15:49 2010 +0530 +++ b/plotting-data/script.rst Tue Nov 09 17:37:03 2010 +0530 @@ -167,13 +167,13 @@ In this tutorial we have learnt : -1. How to declare a sequence of number , specifically the kind of sequence we learned was a list. +1. How to declare a sequence of numbers. -2. Plotting experimental data extending our knowledge from mathematical functions. +2. Plotting experimental data. 3. The various options available for plotting dots instead of lines. -4. Plotting experimental data such that we can also represent error. We did this using the errorbar() function. +4. Plotting experimental data such that we can also represent error. {{{ Show the "sponsored by FOSSEE" slide }}} diff -r 0385c3157fd1 -r bb6bab81e9f2 plotting-data/slides.org --- a/plotting-data/slides.org Tue Nov 09 17:15:49 2010 +0530 +++ b/plotting-data/slides.org Tue Nov 09 17:37:03 2010 +0530 @@ -75,12 +75,14 @@ * Plotting Error bar - : In[]: errorbar(L,tsquare,xerr=delta_L, yerr=delta_T, - : fmt='b.') + : In[]: errorbar(L,tsquare,xerr=delta_L, + : yerr=delta_T,fmt='b.') + * Summary : L = [0.1, 0.2, 0.3, 0.4, 0.5, | : 0.6, 0.7, 0.8, 0.9] : plot(x,y,'o') : plot(x,y,'.') - : errorbar(L,tsquare,xerr=delta_L, yerr=delta_T, fmt='b.') + : errorbar(L,tsquare,xerr=delta_L, + : yerr=delta_T, fmt='b.') diff -r 0385c3157fd1 -r bb6bab81e9f2 plotting-data/slides.tex --- a/plotting-data/slides.tex Tue Nov 09 17:15:49 2010 +0530 +++ b/plotting-data/slides.tex Tue Nov 09 17:37:03 2010 +0530 @@ -1,4 +1,4 @@ -% Created 2010-11-09 Tue 15:09 +% Created 2010-11-09 Tue 17:34 \documentclass[presentation]{beamer} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} @@ -121,9 +121,11 @@ \begin{verbatim} - In[]: errorbar(L,tsquare,xerr=delta_L, yerr=delta_T, - fmt='b.') + In[]: errorbar(L,tsquare,xerr=delta_L, + yerr=delta_T,fmt='b.') \end{verbatim} + + \end{frame} \begin{frame}[fragile] \frametitle{Summary} @@ -134,7 +136,8 @@ 0.6, 0.7, 0.8, 0.9] plot(x,y,'o') plot(x,y,'.') - errorbar(L,tsquare,xerr=delta_L, yerr=delta_T, fmt='b.') + errorbar(L,tsquare,xerr=delta_L, + yerr=delta_T, fmt='b.') \end{verbatim} \end{frame}