diff options
author | Shantanu Choudhary | 2009-10-31 01:33:12 +0530 |
---|---|---|
committer | Shantanu Choudhary | 2009-10-31 01:33:12 +0530 |
commit | cb18959fe1554c4cd8bcc2af160c14af5010f70a (patch) | |
tree | 54141e7718f5682c02ffe53c352ceb575f2f3434 /day1 | |
parent | da363caede7e7f4fbdf50218e46432a94b8555c0 (diff) | |
download | workshops-cb18959fe1554c4cd8bcc2af160c14af5010f70a.tar.gz workshops-cb18959fe1554c4cd8bcc2af160c14af5010f70a.tar.bz2 workshops-cb18959fe1554c4cd8bcc2af160c14af5010f70a.zip |
1 quiz, seesion5 plots, added links to reference.
Diffstat (limited to 'day1')
-rw-r--r-- | day1/data/missing_points.png | bin | 0 -> 15363 bytes | |||
-rw-r--r-- | day1/links.tex | 5 | ||||
-rw-r--r-- | day1/session5.tex | 9 |
3 files changed, 11 insertions, 3 deletions
diff --git a/day1/data/missing_points.png b/day1/data/missing_points.png Binary files differnew file mode 100644 index 0000000..ff74050 --- /dev/null +++ b/day1/data/missing_points.png diff --git a/day1/links.tex b/day1/links.tex index 7734d47..c820d22 100644 --- a/day1/links.tex +++ b/day1/links.tex @@ -1,6 +1,7 @@ \documentclass[12pt]{article} \title{Links and References} -\author{Asokan Pichai\\Prabhu Ramachandran} +\author{FOSSEE} +\date{} \begin{document} \maketitle \begin{itemize} @@ -8,7 +9,9 @@ \item ``may be one of the thinnest programming language books on my shelf, but it's also one of the best.'' -- \emph{Slashdot, AccordianGuy, September 8, 2004}- available at \url{http://diveintopython.org/} \item How to Think Like a Computer Scientist: Learning with Python available at \url{http://www.openbookproject.net/thinkcs/python/english/}\\``The concepts covered here apply to all programming languages and to problem solving in general.'' -- \emph{Guido van Rossum, creator of Python} \item Some assorted articles related to Python \url{http://effbot.org/zone/index.htm} + \item Reference manual to describe the standard libraries that are distributed with Python is available at \url{http://docs.python.org/library/} \item To read more on strings refer to: \\ \url{http://docs.python.org/library/stdtypes.html#string-methods} + \item Some coding conventions for using Python language are available at \\ \url{http://www.python.org/dev/peps/pep-0008/} \item For documentation on IPython refer: \\ \url{http://ipython.scipy.org/moin/Documentation} \item Documentation for Numpy and Scipy is available at: \url{http://docs.scipy.org/doc/} \item For "recipes" or worked examples of commonly-done tasks in SciPy explore: \url{http://www.scipy.org/Cookbook/} diff --git a/day1/session5.tex b/day1/session5.tex index ac1d8b6..46dcd54 100644 --- a/day1/session5.tex +++ b/day1/session5.tex @@ -146,14 +146,13 @@ In []: T = data[:,1] \section{Interpolation} \begin{frame}[fragile] -\frametitle{Interpolation} +\frametitle{Loading data (revisited)} \begin{itemize} \item Given data file \typ{points.txt}. \item It contains x,y position of particle. \item Plot the given points. %% \item Interpolate the missing region. \end{itemize} -\emphbar{Loading data (revisited)} \begin{lstlisting} In []: data = loadtxt('points.txt') In []: data.shape @@ -164,6 +163,12 @@ In []: plot(x, y, '.') \end{lstlisting} \end{frame} +\begin{frame} + \frametitle{Plot} + \begin{center} + \includegraphics[height=2in, interpolate=true]{data/missing_points} + \end{center} +\end{frame} %% \begin{frame}[fragile] %% \frametitle{Interpolation \ldots} %% \begin{small} |