[Matplotlib-users] x axis & imshow...

2009-02-14 Thread Lewis, Ambrose J.
Thanks Michael & Ryan! Worked great! amb -Original Message- From: Michael Droettboom [mailto:md...@stsci.edu] Sent: Fri 2/13/2009 1:14 PM To: Lewis, Ambrose J. Cc: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] x axis & imshow... You can pass "

Re: [Matplotlib-users] x axis & imshow...

2009-02-13 Thread Michael Droettboom
You can pass "extent=(left, right, bottom, top)" to imshow to specify what the pixels in the array correspond to in data space. Mike Lewis, Ambrose J. wrote: > > Hi All: > > I’m working on a wxPython GUI that uses matplotlib. > > This program reads “chunks” of a data file into a numpy array and

Re: [Matplotlib-users] x axis & imshow...

2009-02-13 Thread Ryan May
On Fri, Feb 13, 2009 at 12:01 PM, Lewis, Ambrose J. < ambrose.j.le...@saic.com> wrote: > Hi All: > > I'm working on a wxPython GUI that uses matplotlib. > > This program reads "chunks" of a data file into a numpy array and than > plots it using imshow. > > The first chunk works great. But, when

[Matplotlib-users] x axis & imshow...

2009-02-13 Thread Lewis, Ambrose J.
Hi All: I'm working on a wxPython GUI that uses matplotlib. This program reads "chunks" of a data file into a numpy array and than plots it using imshow. The first chunk works great. But, when I load chunks 2 to N, how can I specify the different values for the labels on the x axis? I trie