Re: [Matplotlib-users] imshow extent & toolbar zoom??

2009-02-17 Thread Lewis, Ambrose J.
the help! amb From: matplotlib-users-boun...@lists.sourceforge.net [mailto:matplotlib-users-boun...@lists.sourceforge.net] On Behalf Of Lewis, Ambrose J. Sent: Monday, February 16, 2009 7:15 AM To: matplotlib-users@lists.sourceforge.net Subject: [Matplotlib-users

Re: [Matplotlib-users] updating colorbar to match new image data...

2009-02-17 Thread Lewis, Ambrose J.
Thanks Eric...This approach also fixed my zooming issue in my other post!!! amb -Original Message- From: Eric Firing [mailto:efir...@hawaii.edu] Sent: Monday, February 16, 2009 4:12 PM To: Lewis, Ambrose J. Cc: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users

[Matplotlib-users] updating colorbar to match new image data...

2009-02-16 Thread Lewis, Ambrose J.
Hi All: I'm using the following code to create and display an image with a colorbar. Later on, I read data from a file and update the image. How do I refresh the colorbar to match this new data? Uncommenting the line in my "ReadFromFile" call below generates a new colorbar. I'd just like to

[Matplotlib-users] imshow extent & toolbar zoom??

2009-02-16 Thread Lewis, Ambrose J.
es\matplotlib\image.py", line 220, in make_im age rx = widthDisplay / numcols ZeroDivisionError: float division ________ From: matplotlib-users-boun...@lists.sourceforge.net [mailto:matplotlib-users-boun...@lists.sourceforge.net] On Behalf Of Lewis, Ambrose J. Sent: Sa

[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 "

[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

Re: [Matplotlib-users] psd question

2009-01-14 Thread Lewis, Ambrose J.
Good point Matt...I'm using the latest (and I do see the scaling warning message) I'll check on the default window type for Matlab THANXS amb Ambrose Lewis SAIC 4001 N Fairfax Drive, Suite 400 Arlington, VA 22203 703.558.2786 ambrose.j.le...@saic.com -Original Message- From: matplotlib-us

[Matplotlib-users] psd question...

2009-01-14 Thread Lewis, Ambrose J.
Hi All: I'm trying to use the matplotlib psd function to plot some data. The result from MATLAB's pWelch function looks vastly different. Any suggestions/recommendations would be greatly appreciated! THANXS amb Here is the MATLAB code: Fs = 13e6; fid = fopen('C:\asp\roseRT\ics_output.bin

Re: [Matplotlib-users] updating image in wxpython gui...

2009-01-08 Thread Lewis, Ambrose J.
mage.set_array(x) self.canvas.draw() if __name__ == '__main__': app = PySimpleApp() frame = PlotFigure() frame.Show() app.MainLoop() -Original Message- From: John Hunter [mailto:jdh2...@gmail.com] Sent: Wednesday, January 07, 2009 9:23 AM To: Lewis, Ambr

[Matplotlib-users] updating image in wxpython gui...

2009-01-07 Thread Lewis, Ambrose J.
Hi All: I'm very new to matplotlib, but it seems like a very powerful tool! I'm trying to write a wxpython GUI that displays an image from a data file that the user selected. I've looked at a bunch of examples, but can't seem to get it quite right. I've initialized the image to a buffer of zero