changed | /trunk/course/intro_to_python.lyx |
changed | /trunk/course/main.pdf |
changed | /trunk/course/matplotlib_tut.lyx |
changed | /trunk/course/vtk_tut.lyx |
--- a/trunk/course/intro_to_python.lyx +++ b/trunk/course/intro_to_python.lyx @@ -26,6 +26,15 @@ \layout Chapter A whirlwind tour of python and the standard library +\begin_inset OptArg +collapsed true + +\layout Standard + +Python intro +\end_inset + + \layout Standard This is a quick-and-dirty introduction to the python language for the impatient @@ -238,6 +247,15 @@ \end_inset Python is a calculator +\begin_inset OptArg +collapsed true + +\layout Standard + +Calculator +\end_inset + + \layout Standard Aside from my daughter's solar powered cash-register calculator, Python @@ -598,6 +616,15 @@ \layout Section Accessing the standard library +\begin_inset OptArg +collapsed true + +\layout Standard + +Standard Library +\end_inset + + \layout Standard Arithmetic is fine, but before long you may find yourself tiring of it and @@ -1556,6 +1583,15 @@ \layout Section The basic python data structures +\begin_inset OptArg +collapsed true + +\layout Standard + +Data Structures +\end_inset + + \layout Standard Strings, covered in the last section, are sequences of characters. @@ -1950,6 +1986,15 @@ \layout Section The Zen of Python +\begin_inset OptArg +collapsed true + +\layout Standard + +Zen +\end_inset + + \layout Exercise @@ -2429,6 +2474,15 @@ \layout Section Files and file like objects +\begin_inset OptArg +collapsed true + +\layout Standard + +Files +\end_inset + + \layout Standard Working with files is one of the most common and important things we do @@ -2837,10 +2891,4 @@ \layout LyX-Code print line, -\layout Section - -Some highlights of the standard library -\layout Standard - -TODO \the_end
--- a/trunk/course/matplotlib_tut.lyx +++ b/trunk/course/matplotlib_tut.lyx @@ -26,9 +26,27 @@ \layout Chapter Introduction to plotting with matplotlib / pylab +\begin_inset OptArg +collapsed true + +\layout Standard + +matplotlib +\end_inset + + \layout Section A bird's eye view +\begin_inset OptArg +collapsed false + +\layout Standard + +Overview +\end_inset + + \layout Standard matplotlib is a library for making 2D plots of arrays in python. @@ -203,6 +221,15 @@ \layout Section A short pylab tutorial +\begin_inset OptArg +collapsed true + +\layout Standard + +pylab tutorial +\end_inset + + \layout Standard Here is about the simplest code you can use to create a figure with matplotlib @@ -609,6 +636,15 @@ \layout Section Set and get introspection +\begin_inset OptArg +collapsed true + +\layout Standard + +set and get +\end_inset + + \layout Standard Everything that goes into a matplotlib figure, including the @@ -892,6 +928,15 @@ \layout Section A common interface to Numeric and numarray +\begin_inset OptArg +collapsed true + +\layout Standard + +numerix +\end_inset + + \layout Standard Currently the python computing community is in a state of having too many @@ -1029,6 +1074,15 @@ \layout Section Customizing the default behavior with the rc file +\begin_inset OptArg +collapsed true + +\layout Standard + +matplotlibrc +\end_inset + + \layout Standard matplotlib is designed to work in a variety of settings: some people use @@ -1155,16 +1209,16 @@ \layout Section -Nonlinear transformations: log and polar -\layout Section - -Scatter plots -\layout Section - -Histograms and bar charts -\layout Section - -Spectral analysis +A quick tour of plot types +\begin_inset OptArg +collapsed true + +\layout Standard + +Plot Types +\end_inset + + \layout Section Images @@ -1361,7 +1415,25 @@ \layout Section Customizing text and mathematical expressions +\begin_inset OptArg +collapsed true + +\layout Standard + +Text +\end_inset + + \layout Section Event handling: Tracking the mouse and keyboard +\begin_inset OptArg +collapsed true + +\layout Standard + +Event +\end_inset + + \the_end