plotting-data/slides.tex
author Anoop Jacob Thomas<anoop@fossee.in>
Sun, 07 Nov 2010 19:47:26 +0530
changeset 399 3c16961361cd
parent 372 8e05616c4102
child 416 06ac45f4de88
permissions -rw-r--r--
reviewed plotting-data.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
399
3c16961361cd reviewed plotting-data.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 372
diff changeset
     1
% Created 2010-11-07 Sun 18:57
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
3c16961361cd reviewed plotting-data.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 372
diff changeset
    19
\providecommand{\alert}[1]{\textbf{#1}}
372
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    20
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    21
\title{Plotting Experimental Data}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    22
\author{FOSSEE}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    23
\date{2010-09-14 Tue}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    24
399
3c16961361cd reviewed plotting-data.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 372
diff changeset
    25
\usetheme{Warsaw}\useoutertheme{infolines}\usecolortheme{default}\setbeamercovered{transparent}
372
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    26
\begin{document}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    27
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    28
\maketitle
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    29
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    30
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    31
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    32
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    33
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    34
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    35
\begin{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    36
\frametitle{Tutorial Plan}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    37
\label{sec-1}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    38
\begin{itemize}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    39
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    40
\item Plotting Experiment Data and Error Bars\\
399
3c16961361cd reviewed plotting-data.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 372
diff changeset
    41
\label{sec-1_1}%
372
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    42
\end{itemize} % ends low level
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    43
\end{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    44
\begin{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    45
\frametitle{Pre-requisites}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    46
\label{sec-2}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    47
\begin{itemize}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    48
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    49
\item Plotting simple analytical Functions\\
399
3c16961361cd reviewed plotting-data.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 372
diff changeset
    50
\label{sec-2_1}%
372
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    51
\end{itemize} % ends low level
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    52
\end{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    53
\begin{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    54
\frametitle{plot L vs. T$^2$}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    55
\label{sec-3}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    56
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    57
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
\begin{center}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    61
\begin{tabular}{rr}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    62
   L  &     T  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    63
 0.1  &  0.69  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    64
 0.2  &  0.90  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    65
 0.3  &  1.19  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    66
 0.4  &  1.30  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    67
 0.5  &  1.47  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    68
 0.6  &  1.58  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    69
 0.7  &  1.77  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    70
 0.8  &  1.83  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    71
 0.9  &  1.94  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    72
\end{tabular}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    73
\end{center}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    74
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    75
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
\end{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    79
\begin{frame}[fragile]
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    80
\frametitle{Initializing L \& T}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    81
\label{sec-4}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    82
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    83
\begin{verbatim}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    84
   In []: L = [0.1, 0.2, 0.3, 0.4, 0.5,
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    85
              0.6, 0.7, 0.8, 0.9]
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    86
   In []: t = [0.69, 0.90, 1.19,
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    87
               1.30, 1.47, 1.58,
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    88
              1.77, 1.83, 1.94]
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    89
\end{verbatim}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    90
\end{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    91
\begin{frame}[fragile]
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    92
\frametitle{square()}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    93
\label{sec-5}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    94
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    95
\begin{verbatim}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    96
   In []: tsquare=square(t)
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    97
\end{verbatim}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    98
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    99
  
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   100
\begin{verbatim}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   101
   array([ 0.4761,  0.81  ,  1.4161,  1.69  ,  2.1609,  2.4964,  3.1329,
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   102
         3.3489,  3.7636])
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   103
\end{verbatim}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   104
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   105
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   106
  
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   107
\end{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   108
\begin{frame}[fragile]
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   109
\frametitle{Plotting}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   110
\label{sec-6}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   111
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   112
\begin{verbatim}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   113
   In[]: plot(L,t,.)
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   114
\end{verbatim}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   115
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   116
  
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   117
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   118
\begin{verbatim}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   119
   In[]: plot(L,t,o)
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   120
\end{verbatim}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   121
\end{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   122
\begin{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   123
\frametitle{Adding Error}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   124
\label{sec-7}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   125
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   126
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   127
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   128
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   129
\begin{center}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   130
\begin{tabular}{rrrr}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   131
   L  &     T  &  /Delta L  &  /Delta T  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   132
 0.1  &  0.69  &      0.08  &      0.04  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   133
 0.2  &  0.90  &      0.09  &      0.08  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   134
 0.3  &  1.19  &      0.07  &      0.11  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   135
 0.4  &  1.30  &      0.05  &      0.05  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   136
 0.5  &  1.47  &      0.06  &      0.03  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   137
 0.6  &  1.58  &      0.00  &      0.03  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   138
 0.7  &  1.77  &      0.06  &      0.01  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   139
 0.8  &  1.83  &      0.06  &      0.07  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   140
 0.9  &  1.94  &      0.01  &      0.01  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   141
\end{tabular}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   142
\end{center}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   143
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   144
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   145
 
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   146
 
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   147
\end{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   148
\begin{frame}[fragile]
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   149
\frametitle{Plotting Error bar}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   150
\label{sec-8}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   151
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   152
  
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   153
\begin{verbatim}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   154
   In[]: errorbar(L,tsquare,xerr=delta_L, yerr=delta_T,
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   155
                  fmt='b.')
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   156
\end{verbatim}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   157
\end{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   158
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   159
\end{document}