plotting-data/slides.tex
author Amit Sethi
Tue, 09 Nov 2010 15:10:13 +0530
changeset 416 06ac45f4de88
parent 399 3c16961361cd
child 429 bb6bab81e9f2
child 432 c92662f02209
permissions -rw-r--r--
Changed Plotting Data according to review

% Created 2010-11-09 Tue 15:09
\documentclass[presentation]{beamer}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{t1enc}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{latexsym}
\usepackage{amssymb}
\usepackage{hyperref}
\tolerance=1000
\usepackage[english]{babel} \usepackage{ae,aecompl}
\usepackage{mathpazo,courier,euler} \usepackage[scaled=.95]{helvet}
\usepackage{listings}
\lstset{language=Python, basicstyle=\ttfamily\bfseries,
commentstyle=\color{red}\itshape, stringstyle=\color{darkgreen},
showstringspaces=false, keywordstyle=\color{blue}\bfseries}
\providecommand{\alert}[1]{\textbf{#1}}

\title{Plotting Experimental Data}
\author{FOSSEE}
\date{2010-09-14 Tue}

\usetheme{Warsaw}\usecolortheme{default}\useoutertheme{infolines}\setbeamercovered{transparent}
\begin{document}

\maketitle









\begin{frame}
\frametitle{Outline}
\label{sec-1}

\begin{itemize}
\item Defining sequence of numbers
\item Squaring sequence of numbers
\item Plotting Data Points
\item Indicating Error through Errorbars
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Simple Pendulum Data}
\label{sec-2}




\begin{center}
\begin{tabular}{rr}
   L  &     T  \\
 0.1  &  0.69  \\
 0.2  &  0.90  \\
 0.3  &  1.19  \\
 0.4  &  1.30  \\
 0.5  &  1.47  \\
 0.6  &  1.58  \\
 0.7  &  1.77  \\
 0.8  &  1.83  \\
 0.9  &  1.94  \\
\end{tabular}
\end{center}


  
\end{frame}
\begin{frame}[fragile]
\frametitle{Initializing L \& T}
\label{sec-3}

\begin{verbatim}
   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]
\end{verbatim}
\end{frame}
\begin{frame}
\frametitle{Adding Error}
\label{sec-4}




\begin{center}
\begin{tabular}{rrrr}
   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.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.04  \\
 0.8  &  1.83  &        0.06  &        0.07  \\
 0.9  &  1.94  &        0.01  &        0.08  \\
\end{tabular}
\end{center}


 
 
\end{frame}
\begin{frame}[fragile]
\frametitle{Plotting Error bar}
\label{sec-5}

  
\begin{verbatim}
   In[]: errorbar(L,tsquare,xerr=delta_L, yerr=delta_T,
                  fmt='b.')
\end{verbatim}
\end{frame}
\begin{frame}[fragile]
\frametitle{Summary}
\label{sec-6}

\begin{verbatim}
  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.')    
\end{verbatim}
\end{frame}

\end{document}