plotting-data/slides.tex
author Amit Sethi
Tue, 09 Nov 2010 23:26:39 +0530
changeset 433 f121a3598ad9
parent 432 c92662f02209
child 434 c8ffd52305ff
permissions -rw-r--r--
Added thank you slide in plotting data
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
432
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
     1
% Created 2010-11-09 Tue 23:18
372
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
     2
\documentclass[presentation]{beamer}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
     3
\usepackage[latin1]{inputenc}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
     4
\usepackage[T1]{fontenc}
399
3c16961361cd reviewed plotting-data.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 372
diff changeset
     5
\usepackage{fixltx2e}
372
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
     6
\usepackage{graphicx}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
     7
\usepackage{longtable}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
     8
\usepackage{float}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
     9
\usepackage{wrapfig}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    10
\usepackage{soul}
399
3c16961361cd reviewed plotting-data.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 372
diff changeset
    11
\usepackage{t1enc}
3c16961361cd reviewed plotting-data.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 372
diff changeset
    12
\usepackage{textcomp}
3c16961361cd reviewed plotting-data.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 372
diff changeset
    13
\usepackage{marvosym}
3c16961361cd reviewed plotting-data.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 372
diff changeset
    14
\usepackage{wasysym}
3c16961361cd reviewed plotting-data.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 372
diff changeset
    15
\usepackage{latexsym}
372
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    16
\usepackage{amssymb}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    17
\usepackage{hyperref}
399
3c16961361cd reviewed plotting-data.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 372
diff changeset
    18
\tolerance=1000
416
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
    19
\usepackage[english]{babel} \usepackage{ae,aecompl}
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
    20
\usepackage{mathpazo,courier,euler} \usepackage[scaled=.95]{helvet}
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
    21
\usepackage{listings}
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
    22
\lstset{language=Python, basicstyle=\ttfamily\bfseries,
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
    23
commentstyle=\color{red}\itshape, stringstyle=\color{darkgreen},
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
    24
showstringspaces=false, keywordstyle=\color{blue}\bfseries}
399
3c16961361cd reviewed plotting-data.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 372
diff changeset
    25
\providecommand{\alert}[1]{\textbf{#1}}
372
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    26
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    27
\title{Plotting Experimental Data}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    28
\author{FOSSEE}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    29
\date{2010-09-14 Tue}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    30
416
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
    31
\usetheme{Warsaw}\usecolortheme{default}\useoutertheme{infolines}\setbeamercovered{transparent}
372
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    32
\begin{document}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    33
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    34
\maketitle
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    35
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    36
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    37
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    38
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    39
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    40
416
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
    41
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
    42
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
    43
372
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    44
\begin{frame}
416
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
    45
\frametitle{Outline}
372
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    46
\label{sec-1}
416
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
    47
372
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    48
\begin{itemize}
416
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
    49
\item Defining sequence of numbers
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
    50
\item Squaring sequence of numbers
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
    51
\item Plotting Data Points
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
    52
\item Indicating Error through Errorbars
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
    53
\end{itemize}
372
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    54
\end{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    55
\begin{frame}
416
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
    56
\frametitle{Simple Pendulum Data}
372
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    57
\label{sec-2}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    58
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    59
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    60
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    61
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    62
\begin{center}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    63
\begin{tabular}{rr}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    64
   L  &     T  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    65
 0.1  &  0.69  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    66
 0.2  &  0.90  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    67
 0.3  &  1.19  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    68
 0.4  &  1.30  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    69
 0.5  &  1.47  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    70
 0.6  &  1.58  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    71
 0.7  &  1.77  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    72
 0.8  &  1.83  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    73
 0.9  &  1.94  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    74
\end{tabular}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    75
\end{center}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    76
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    77
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    78
  
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    79
\end{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    80
\begin{frame}[fragile]
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    81
\frametitle{Initializing L \& T}
416
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
    82
\label{sec-3}
372
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    83
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    84
\begin{verbatim}
416
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
    85
   L = [0.1, 0.2, 0.3, 0.4, 0.5,
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
    86
        0.6, 0.7, 0.8, 0.9]
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
    87
   t = [0.69, 0.90, 1.19,
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
    88
        1.30, 1.47, 1.58,
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
    89
        1.77, 1.83, 1.94]
372
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    90
\end{verbatim}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    91
\end{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    92
\begin{frame}
432
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
    93
\frametitle{Question 1}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
    94
\label{sec-4}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
    95
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
    96
\begin{itemize}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
    97
\item Plot the given experimental data with large dots.
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
    98
\end{itemize}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
    99
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   100
  The data is on your screen.     
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   101
  
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   102
\end{frame}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   103
\begin{frame}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   104
\frametitle{Question 1 Data}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   105
\label{sec-5}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   106
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   107
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   108
    
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   109
  
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   110
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   111
\begin{center}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   112
\begin{tabular}{rr}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   113
    S  &      n  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   114
 0.19  &  10.74  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   115
 0.38  &  14.01  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   116
 0.57  &  18.52  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   117
 0.77  &  20.23  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   118
 0.96  &  22.88  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   119
 1.15  &  24.59  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   120
 1.34  &  27.55  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   121
 1.54  &  28.48  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   122
 1.73  &  30.20  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   123
\end{tabular}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   124
\end{center}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   125
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   126
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   127
    
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   128
\end{frame}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   129
\begin{frame}[fragile]
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   130
\frametitle{Solution 1}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   131
\label{sec-6}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   132
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   133
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   134
\begin{verbatim}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   135
   S=[0.19,0.38,0.57,0.77,0.96,
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   136
     1.15,1.34,1.54,1.73]
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   137
   n=[10.74,14.01,18.52,20.23,
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   138
      22.88,24.59,27.55,28.48,30.20]
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   139
   plot(S,n,'o')
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   140
\end{verbatim}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   141
\end{frame}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   142
\begin{frame}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   143
\frametitle{Question 2}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   144
\label{sec-7}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   145
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   146
\begin{itemize}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   147
\item Plot the given experimental data with small dots.
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   148
\end{itemize}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   149
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   150
  The data is on your screen.     
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   151
\end{frame}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   152
\begin{frame}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   153
\frametitle{Question 2 Data}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   154
\label{sec-8}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   155
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   156
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   157
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   158
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   159
\begin{center}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   160
\begin{tabular}{rr}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   161
    P  &     D  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   162
 1.48  &  0.68  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   163
 2.96  &  0.89  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   164
 4.44  &  1.18  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   165
 5.92  &  1.29  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   166
 7.40  &  1.46  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   167
 8.88  &  1.57  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   168
 10.3  &  1.76  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   169
 11.8  &  1.82  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   170
 13.3  &  1.93  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   171
\end{tabular}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   172
\end{center}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   173
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   174
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   175
  
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   176
\end{frame}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   177
\begin{frame}[fragile]
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   178
\frametitle{Solution 2}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   179
\label{sec-9}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   180
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   181
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   182
\begin{verbatim}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   183
    P=[1.48,2.96,4.44,5.92,7.40,
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   184
      8.88,10.3,11.8,13.3]
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   185
    D=[0.68,0.89,1.18,1.29,1.46,
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   186
      1.57,1.76,1.82,1.93]
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   187
    plot(P,D,'.')
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   188
\end{verbatim}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   189
\end{frame}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   190
\begin{frame}
372
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   191
\frametitle{Adding Error}
432
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   192
\label{sec-10}
372
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   193
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   194
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   195
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   196
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   197
\begin{center}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   198
\begin{tabular}{rrrr}
416
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
   199
   L  &     T  &  $\delta$ L  &  $\delta$ T  \\
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
   200
 0.1  &  0.69  &        0.08  &        0.04  \\
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
   201
 0.2  &  0.90  &        0.09  &        0.08  \\
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
   202
 0.3  &  1.19  &        0.07  &        0.03  \\
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
   203
 0.4  &  1.30  &        0.05  &        0.05  \\
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
   204
 0.5  &  1.47  &        0.06  &        0.03  \\
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
   205
 0.6  &  1.58  &        0.00  &        0.03  \\
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
   206
 0.7  &  1.77  &        0.06  &        0.04  \\
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
   207
 0.8  &  1.83  &        0.06  &        0.07  \\
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
   208
 0.9  &  1.94  &        0.01  &        0.08  \\
372
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   209
\end{tabular}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   210
\end{center}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   211
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   212
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   213
 
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   214
 
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   215
\end{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   216
\begin{frame}[fragile]
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   217
\frametitle{Plotting Error bar}
432
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   218
\label{sec-11}
372
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   219
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   220
  
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   221
\begin{verbatim}
432
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   222
   errorbar(L,tsquare,xerr=delta_L, yerr=delta_T,
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   223
           fmt='b.')
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   224
\end{verbatim}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   225
\end{frame}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   226
\begin{frame}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   227
\frametitle{Question 1}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   228
\label{sec-12}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   229
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   230
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   231
\begin{itemize}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   232
\item Plot the given experimental data with large green dots.Also include
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   233
\end{itemize}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   234
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   235
  the error in your plot. 
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   236
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   237
  
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   238
\end{frame}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   239
\begin{frame}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   240
\frametitle{Question 1 Data}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   241
\label{sec-13}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   242
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   243
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   244
  \#+ORGTBL: L vs T$^2$ orgtbl-to-latex
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   245
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   246
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   247
\begin{center}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   248
\begin{tabular}{rrrr}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   249
    S  &      n  &  $\delta$ S  &  $\delta$ n  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   250
 0.19  &  10.74  &       0.006  &        0.61  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   251
 0.38  &  14.01  &       0.006  &        0.69  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   252
 0.57  &  18.52  &       0.005  &        0.53  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   253
 0.77  &  20.23  &       0.003  &        0.38  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   254
 0.96  &  22.88  &       0.004  &        0.46  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   255
 1.15  &  24.59  &       0.007  &        0.37  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   256
 1.34  &  27.55  &       0.004  &        0.46  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   257
 1.54  &  28.48  &       0.004  &        0.46  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   258
 1.73  &  30.20  &       0.007  &        0.37  \\
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   259
\end{tabular}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   260
\end{center}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   261
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   262
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   263
  
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   264
  
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   265
    
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   266
\end{frame}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   267
\begin{frame}[fragile]
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   268
\frametitle{Solution 1}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   269
\label{sec-14}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   270
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   271
  
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   272
\begin{verbatim}
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   273
   S=[0.19,0.38,0.57,0.77,0.96,
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   274
     1.15,1.34,1.54,1.73]
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   275
   n=[10.74,14.01,18.52,20.23,
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   276
     22.88,24.59,27.55,28.48,30.20]
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   277
   delta_S=[0.006,0.006,0.005,0.003,
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   278
           0.004,0.007,0.004,0.004,0.007]
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   279
   delta_n=[0.61,0.69,0.53,0.38,0.46,
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   280
           0.37,0.46,0.46,0.37]
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   281
   errorbar(S,n,xerr=delta_S, yerr=delta_n, 
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   282
           fmt='go')
372
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   283
\end{verbatim}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   284
\end{frame}
416
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
   285
\begin{frame}[fragile]
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
   286
\frametitle{Summary}
432
c92662f02209 Added exercises to plotting data
Amit Sethi
parents: 416
diff changeset
   287
\label{sec-15}
416
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
   288
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
   289
\begin{verbatim}
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
   290
  L = [0.1, 0.2, 0.3, 0.4, 0.5,                                             |
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
   291
       0.6, 0.7, 0.8, 0.9]  
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
   292
  plot(x,y,'o')
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
   293
  plot(x,y,'.')
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
   294
  errorbar(L,tsquare,xerr=delta_L, yerr=delta_T, fmt='b.')    
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
   295
\end{verbatim}
06ac45f4de88 Changed Plotting Data according to review
Amit Sethi
parents: 399
diff changeset
   296
\end{frame}
372
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   297
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   298
\end{document}