Very nice addition Michael.

I note that the plt.colormap() line must have gotten lost. It's referred 
to but not there.
I'll add some ideas to John's list:

* Demonstrate the imsave() command.
* Rather than show 50 lines or so of array data, just show a few lines, 
but demonstrate what img.shape is before and after slicing out the B 
channel with img[:,:,0]
* It may be worth mentioning explicitly that img[:,:,0] will give you 
the blue channel for an RGB and an RGBA image.
* Demonstrate the "upper" and "lower" keywords where relevant.
* Add a pointer to the scipy.ndimage module
* Extend the examples with RGB and RGBA images.
* You might like to show how to recarrays and views on the individual 
colour channels. There are examples in the mailing list archives or 
maybe on the scipy website - I can't remember where.
* If you want to get more advanced, talk about higher bit depth images 
than 8 bits per channel.
* If you want to get even more advanced, show how to change the UI to 
probe the pixel value (I wish matplotlib did this by default).

Gary R.

John Hunter wrote:
> On Sat, Aug 29, 2009 at 10:58 AM, Michael Sarahan<mcsara...@ucdavis.edu> 
> wrote:
>> Here you go.  If you can think of anything else to include, I'll work
>> on it.  I think the next thing I'll add is something on embedding
>> images in the corners of plots.  figimage is the way to do this,
>> right?


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to