summaryrefslogtreecommitdiff
path: root/plotting-data/slides.org
diff options
context:
space:
mode:
authorPuneeth Chaganti2010-11-09 16:08:26 +0530
committerPuneeth Chaganti2010-11-09 16:08:26 +0530
commit57d448ea7637e249c9a229154360d7c553ead002 (patch)
tree5b6d64dfb7fc0270e009b504090ca044b205c320 /plotting-data/slides.org
parent0ffcfc3b4283563435746f2dde1dfef85e363fd0 (diff)
parent9b5c5f7e78df35d55737c6ce086fc2bbf51f3139 (diff)
downloadst-scripts-57d448ea7637e249c9a229154360d7c553ead002.tar.gz
st-scripts-57d448ea7637e249c9a229154360d7c553ead002.tar.bz2
st-scripts-57d448ea7637e249c9a229154360d7c553ead002.zip
Merged heads.
Diffstat (limited to 'plotting-data/slides.org')
-rw-r--r--plotting-data/slides.org73
1 files changed, 39 insertions, 34 deletions
diff --git a/plotting-data/slides.org b/plotting-data/slides.org
index 91f9a11..9545e41 100644
--- a/plotting-data/slides.org
+++ b/plotting-data/slides.org
@@ -2,26 +2,40 @@
#+LaTeX_CLASS_OPTIONS: [presentation]
#+BEAMER_FRAME_LEVEL: 1
-#+BEAMER_HEADER_EXTRA: \usetheme{Warsaw}\useoutertheme{infolines}\usecolortheme{default}\setbeamercovered{transparent}
+#+BEAMER_HEADER_EXTRA: \usetheme{Warsaw}\usecolortheme{default}\useoutertheme{infolines}\setbeamercovered{transparent}
#+COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Env Args) %4BEAMER_col(Col) %8BEAMER_extra(Extra)
#+PROPERTY: BEAMER_col_ALL 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 :ETC
-#+OPTIONS: H:5 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
+
+#+LaTeX_CLASS: beamer
+#+LaTeX_CLASS_OPTIONS: [presentation]
+
+#+LaTeX_HEADER: \usepackage[english]{babel} \usepackage{ae,aecompl}
+#+LaTeX_HEADER: \usepackage{mathpazo,courier,euler} \usepackage[scaled=.95]{helvet}
+
+#+LaTeX_HEADER: \usepackage{listings}
+
+#+LaTeX_HEADER:\lstset{language=Python, basicstyle=\ttfamily\bfseries,
+#+LaTeX_HEADER: commentstyle=\color{red}\itshape, stringstyle=\color{darkgreen},
+#+LaTeX_HEADER: showstringspaces=false, keywordstyle=\color{blue}\bfseries}
#+TITLE: Plotting Experimental Data
#+AUTHOR: FOSSEE
#+DATE: 2010-09-14 Tue
#+EMAIL: info@fossee.in
-# \author[FOSSEE] {FOSSEE}
+#+DESCRIPTION:
+#+KEYWORDS:
+#+LANGUAGE: en
+#+OPTIONS: H:3 num:nil toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
+#+OPTIONS: TeX:t LaTeX:nil skip:nil d:nil todo:nil pri:nil tags:not-in-toc
-# \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay}
-# \date{}
+* Outline
+ - Defining sequence of numbers
+ - Squaring sequence of numbers
+ - Plotting Data Points
+ - Indicating Error through Errorbars
-* Tutorial Plan
-** Plotting Experiment Data and Error Bars
-* Pre-requisites
-** Plotting simple analytical Functions
-* plot L vs. T^2
+* Simple Pendulum Data
#+ORGTBL: L vs T^2 orgtbl-to-latex
@@ -36,41 +50,27 @@
| 0.8 | 1.83 |
| 0.9 | 1.94 |
-
-
* Initializing L & T
- : 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]
-* square()
- : In []: tsquare=square(t)
-
- : array([ 0.4761, 0.81 , 1.4161, 1.69 , 2.1609, 2.4964, 3.1329,
- : 3.3489, 3.7636])
-
-
-* Plotting
- : In[]: plot(L,t,.)
-
-
- : In[]: plot(L,t,o)
+ : L = [0.1, 0.2, 0.3, 0.4, 0.5,
+ : 0.6, 0.7, 0.8, 0.9]
+ : t = [0.69, 0.90, 1.19,
+ : 1.30, 1.47, 1.58,
+ : 1.77, 1.83, 1.94]
* Adding Error
- | L | T | /Delta L | /Delta T |
+ | L | T | \delta L | \delta T |
| 0.1 | 0.69 | 0.08 | 0.04 |
| 0.2 | 0.90 | 0.09 | 0.08 |
- | 0.3 | 1.19 | 0.07 | 0.11 |
+ | 0.3 | 1.19 | 0.07 | 0.03 |
| 0.4 | 1.30 | 0.05 | 0.05 |
| 0.5 | 1.47 | 0.06 | 0.03 |
| 0.6 | 1.58 | 0.00 | 0.03 |
- | 0.7 | 1.77 | 0.06 | 0.01 |
+ | 0.7 | 1.77 | 0.06 | 0.04 |
| 0.8 | 1.83 | 0.06 | 0.07 |
- | 0.9 | 1.94 | 0.01 | 0.01 |
+ | 0.9 | 1.94 | 0.01 | 0.08 |
* Plotting Error bar
@@ -78,4 +78,9 @@
: 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.')