diff options
author | Prabhu Ramachandran | 2016-12-23 14:48:34 +0530 |
---|---|---|
committer | Prabhu Ramachandran | 2016-12-23 14:48:34 +0530 |
commit | 211d0d6e1f81e9e693abfc49c26c9bb592aacdb5 (patch) | |
tree | 770e14173ed4ccad88006fd4e3f0908db86de988 /scipy/basic/quickref.tex | |
parent | c28e567f5789bf66795a6894e506fbb5a7228ca4 (diff) | |
download | python-workshops-211d0d6e1f81e9e693abfc49c26c9bb592aacdb5.tar.gz python-workshops-211d0d6e1f81e9e693abfc49c26c9bb592aacdb5.tar.bz2 python-workshops-211d0d6e1f81e9e693abfc49c26c9bb592aacdb5.zip |
Fix tiny error in session3 slide.
Also add a section to quickref on imshow/imread/colorbar.
Diffstat (limited to 'scipy/basic/quickref.tex')
-rw-r--r-- | scipy/basic/quickref.tex | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scipy/basic/quickref.tex b/scipy/basic/quickref.tex index 87dc5cc..adfaba4 100644 --- a/scipy/basic/quickref.tex +++ b/scipy/basic/quickref.tex @@ -276,6 +276,13 @@ def f(y, t): {\ex \typ{data = csv2rec('data.csv')}} from csv to record array +\hr\textbf{Basic image processing} + +{\ex \typ{from pylab import imread, imshow, colorbar}}\\ +{\ex \typ{a = imread('lena.png')}}: a is a NumPy array\\ +{\ex \typ{imshow(a)}}\\ +{\ex \typ{colorbar()}}\\ + \hr\textbf{3D plotting with Mayavi's \typ{mlab}} {\ex \typ{from mayavi import mlab}} Ready to Go!\\ |