Re: [matplotlib-devel] matplotlib image tutorial

2009-09-15 Thread Fernando Perez
Hi Michael, On Sat, Aug 29, 2009 at 9:45 AM, John Hunter wrote: > On Sat, Aug 29, 2009 at 10:58 AM, Michael Sarahan > 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 p

Re: [matplotlib-devel] matplotlib image tutorial

2009-09-15 Thread Erik Tollerud
I was looking through this, and have a suggestion as well: You have a line that reads In[10]: plt.hist(lum_img) This should probably be plt.hist(lum_img.ravel(),bins=) As it is right now, you are making a histogram of each line individually, and my experience has been that this tends to cause is

Re: [matplotlib-devel] matplotlib image tutorial

2009-09-02 Thread Michael Sarahan
Great suggestions. I'll find time to work on them in the near future, hopefully. -Mike On Sat, Aug 29, 2009 at 6:06 PM, Gary Ruben wrote: > 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

Re: [matplotlib-devel] matplotlib image tutorial

2009-08-29 Thread Gary Ruben
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 i

Re: [matplotlib-devel] matplotlib image tutorial

2009-08-29 Thread John Hunter
On Sat, Aug 29, 2009 at 10:58 AM, Michael Sarahan 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? It depends on exactly wha