[Matplotlib-users] ploting date

2007-09-26 Thread JeanMichel FRANCOIS
Hi there!   I m trying to make a figure , adding a subplot in it, and then specify the X axis with date. I don't have anything to plot at the moment, i just want to generate a subplot with axes X and Y up and ready. All tutorials i have read directly plot sth on the subplot directly, but i

[Matplotlib-users] matplotlib - representation of nan values in 2D

2007-09-26 Thread Dirk Zickermann
Dear matplotlib group, for the represenation of 2d measurement data I use the contourplot function from matplotlib. Some points in this map are not measurabel, therefore I get a non numerical value (nan) output. From this data I want to generate a map and a histogram plot. This works fine, as

Re: [Matplotlib-users] matplotlib - representation of nan values in 2D

2007-09-26 Thread Ryan May
Dirk Zickermann wrote: Dear matplotlib group, for the represenation of 2d measurement data I use the contourplot function from matplotlib. Some points in this map are not measurabel, therefore I get a non numerical value (nan) output. From this data I want to generate a map and a

Re: [Matplotlib-users] matplotlib - representation of nan values in 2D

2007-09-26 Thread David Huard
Hi Dirk, If you haven't already done so, look at the numpy.ma module. It provides a masked array object that deals gracefully with missing values. To the best of my knowledge, most matplotlib functions understand masked arrays and deal with it accordingly, exception made of those requiring a full

Re: [Matplotlib-users] matplotlib - representation of nan values in 2D

2007-09-26 Thread Eric Firing
David Huard wrote: Hi Dirk, If you haven't already done so, look at the numpy.ma http://numpy.ma/ module. It provides a masked array object that deals gracefully with missing values. To the best of my knowledge, most matplotlib functions understand masked arrays and deal with it

Re: [Matplotlib-users] edgecolor with usetex=True, usedistiller='pdf'

2007-09-26 Thread Tom Johnson
Any comments on this? The behavior is, at best, inconsistent. At worst, the current behavior is incorrect, as it is not possible to have a white facecolor when using usetex/xpdf. On 9/23/07, Tom Johnson [EMAIL PROTECTED] wrote: On 9/23/07, Tom Johnson [EMAIL PROTECTED] wrote: Also, it

[Matplotlib-users] Equal Aspect Ratio with colorbar

2007-09-26 Thread Tom Johnson
How can I keep a 1:1 aspect ratio after adding a colorbar? ratio='exact' seems to include the colorbar in the calculations. For example, if I have a circle and color itI want it to still look like a circle (rather than an ellipse) after adding the colorbar. ~t

Re: [Matplotlib-users] edgecolor with usetex=True, usedistiller='pdf'

2007-09-26 Thread Darren Dale
On Wednesday 26 September 2007 03:30:41 pm Tom Johnson wrote: Any comments on this? The behavior is, at best, inconsistent. At worst, the current behavior is incorrect, as it is not possible to have a white facecolor when using usetex/xpdf. I used your script to create the eps file, and

[Matplotlib-users] plot cdf

2007-09-26 Thread Alan Isaac
Is there a standard function or practice for plotting the CDF of a series? (I am aware of the output of hist.) Thank you, Alan Isaac - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R)

Re: [Matplotlib-users] Equal Aspect Ratio with colorbar

2007-09-26 Thread Eric Firing
Tom Johnson wrote: How can I keep a 1:1 aspect ratio after adding a colorbar? After adding the colorbar, try axis('scaled') or axis('image') or axis('equal') Or for full control use the set_aspect() method of the Axes object for your plot. There is also an axis() method corresponding to the

Re: [Matplotlib-users] multiple figures interactively

2007-09-26 Thread Wolfgang Kerzendorf
This might help you it destroys the whole window: pylab.get_current_fig_manager().destroy() and then you open it again with show Lee, Young-Jin wrote: Hi, I ’m writing a python program that draws figures one by one interactively with the user’s input in dos mode. Basically, I give the