plotting-data/slides.tex
author Puneeth Chaganti <punchagan@fossee.in>
Fri, 05 Nov 2010 21:01:23 +0530
changeset 378 fa4c9b11452b
parent 372 8e05616c4102
child 399 3c16961361cd
permissions -rw-r--r--
Changes to getting started with ipython based on review.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
372
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
     1
% Created 2010-10-28 Thu 15:05
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
\usetheme{Warsaw}\useoutertheme{infolines}\usecolortheme{default}\setbeamercovered{transparent}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
     4
\usepackage[latin1]{inputenc}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
     5
\usepackage[T1]{fontenc}
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}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    11
\usepackage{amssymb}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    12
\usepackage{hyperref}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    13
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    14
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    15
\title{Plotting Experimental Data}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    16
\author{FOSSEE}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    17
\date{2010-09-14 Tue}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    18
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    19
\begin{document}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    20
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    21
\maketitle
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    22
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    23
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    24
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    25
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    26
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    27
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    28
\begin{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    29
\frametitle{Tutorial Plan}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    30
\label{sec-1}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    31
\begin{itemize}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    32
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    33
\item Plotting Experiment Data and Error Bars\\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    34
\label{sec-1.1}%
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    35
\end{itemize} % ends low level
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    36
\end{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    37
\begin{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    38
\frametitle{Pre-requisites}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    39
\label{sec-2}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    40
\begin{itemize}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    41
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    42
\item Plotting simple analytical Functions\\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    43
\label{sec-2.1}%
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    44
\end{itemize} % ends low level
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    45
\end{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    46
\begin{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    47
\frametitle{plot L vs. T$^2$}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    48
\label{sec-3}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    49
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    50
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    51
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    52
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    53
\begin{center}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    54
\begin{tabular}{rr}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    55
   L  &     T  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    56
 0.1  &  0.69  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    57
 0.2  &  0.90  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    58
 0.3  &  1.19  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    59
 0.4  &  1.30  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    60
 0.5  &  1.47  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    61
 0.6  &  1.58  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    62
 0.7  &  1.77  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    63
 0.8  &  1.83  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    64
 0.9  &  1.94  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    65
\end{tabular}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    66
\end{center}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    67
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    68
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    69
  
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    70
  
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    71
\end{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    72
\begin{frame}[fragile]
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    73
\frametitle{Initializing L \& T}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    74
\label{sec-4}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    75
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    76
\begin{verbatim}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    77
   In []: L = [0.1, 0.2, 0.3, 0.4, 0.5,
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    78
              0.6, 0.7, 0.8, 0.9]
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    79
   In []: t = [0.69, 0.90, 1.19,
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    80
               1.30, 1.47, 1.58,
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    81
              1.77, 1.83, 1.94]
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    82
\end{verbatim}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    83
\end{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    84
\begin{frame}[fragile]
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    85
\frametitle{square()}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    86
\label{sec-5}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    87
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    88
\begin{verbatim}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    89
   In []: tsquare=square(t)
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
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    92
  
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    93
\begin{verbatim}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    94
   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
    95
         3.3489,  3.7636])
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    96
\end{verbatim}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
    97
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
\end{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   101
\begin{frame}[fragile]
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   102
\frametitle{Plotting}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   103
\label{sec-6}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   104
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   105
\begin{verbatim}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   106
   In[]: plot(L,t,.)
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   107
\end{verbatim}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   108
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   109
  
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   110
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   111
\begin{verbatim}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   112
   In[]: plot(L,t,o)
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   113
\end{verbatim}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   114
\end{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   115
\begin{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   116
\frametitle{Adding Error}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   117
\label{sec-7}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   118
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   119
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   120
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   121
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   122
\begin{center}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   123
\begin{tabular}{rrrr}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   124
   L  &     T  &  /Delta L  &  /Delta T  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   125
 0.1  &  0.69  &      0.08  &      0.04  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   126
 0.2  &  0.90  &      0.09  &      0.08  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   127
 0.3  &  1.19  &      0.07  &      0.11  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   128
 0.4  &  1.30  &      0.05  &      0.05  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   129
 0.5  &  1.47  &      0.06  &      0.03  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   130
 0.6  &  1.58  &      0.00  &      0.03  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   131
 0.7  &  1.77  &      0.06  &      0.01  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   132
 0.8  &  1.83  &      0.06  &      0.07  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   133
 0.9  &  1.94  &      0.01  &      0.01  \\
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   134
\end{tabular}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   135
\end{center}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   136
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   137
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   138
 
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   139
 
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   140
\end{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   141
\begin{frame}[fragile]
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   142
\frametitle{Plotting Error bar}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   143
\label{sec-8}
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
\begin{verbatim}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   147
   In[]: errorbar(L,tsquare,xerr=delta_L, yerr=delta_T,
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   148
                  fmt='b.')
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   149
\end{verbatim}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   150
\end{frame}
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   151
8e05616c4102 Added metadata to plotting-data script
amit
parents:
diff changeset
   152
\end{document}