Re: [Matplotlib-users] calling show() twice in a row

2009-07-07 Thread Matthias Michler
Hi Ondrej, I'm not sure where to find a good explanation of that, but let me give you some hints. It is intended to use show only once per program. Namely 'show' should be the last line in your script. If you want interactive plotting you may consider interactive mode (pyplot.ion-ioff) like in

Re: [Matplotlib-users] Matplot Numpy possible bug !

2009-07-07 Thread Matthias Michler
Hi Jerome, although your problem seems to solved, I would like to state a small remark about the different number of bins. Some time ago numpy changed the default of using left bin edges to using all bin edges. Newer versions of matplotlib handle this difference pretty well, but maybe your old

[Matplotlib-users] 3D Bar (histogram) question

2009-07-07 Thread Nicolas Bigaouette
Hi, I compiled matplotlib svn revision 7246 yesterday to try the 3D stuff. From mpl's website, an example for 3D bar plotting is shown[1]. I just don't understand the axes. From the code, shouldn't X values go from 0 to 20, instead of 0 to 400 000 like shown on the graph? Where does these values

[Matplotlib-users] Add units to plots?

2009-07-07 Thread Joseph Smidt
I have several plots where the scientific notation exponential overflows to the top of the plot like this: http://matplotlib.sourceforge.net/examples/pylab_examples/plotfile_demo.html. Is there any way to add units to this? So that, if I wanted, the units would show up in the overflow as: 1e8

[Matplotlib-users] Where to put MPL/Basemap data files?

2009-07-07 Thread Mauro Cavalcanti
Dear Jeff ALL, In trying to freeze my app using bb-freeze (http://pypi.python.org/pypi/bbfreeze/), I stumbled upon a problem: the app is correctly freezed, but it then looks for the Basemap datafiles and since cannot find them, fails to start (with a message complaining that the above mentioned

[Matplotlib-users] histograms : xmax

2009-07-07 Thread Pau
Hello, two days ago Sebastian helped me to finish in a hurry a histogram with bar() I would like now to understand how to make the plot with hist() First of all, my data (after a massage) looks like : - 0.00e+00 1.00e-04 81039 1.00e-04 2.00e-04 4472

Re: [Matplotlib-users] calling show() twice in a row

2009-07-07 Thread Ondrej Certik
Hi Matthias! many thanks for the help, that was it. I will now remember to use show() only once and use other techniques to create something like show(), but that can be called multiple times. Thanks, Ondrej On Tue, Jul 7, 2009 at 5:35 AM, Matthias Michlermatthiasmich...@gmx.net wrote: Hi

Re: [Matplotlib-users] Where to put MPL/Basemap data files?

2009-07-07 Thread Jeff Whitaker
Mauro Cavalcanti wrote: Dear Jeff ALL, In trying to freeze my app using bb-freeze (http://pypi.python.org/pypi/bbfreeze/), I stumbled upon a problem: the app is correctly freezed, but it then looks for the Basemap datafiles and since cannot find them, fails to start (with a message

Re: [Matplotlib-users] Where to put MPL/Basemap data files?

2009-07-07 Thread Mauro Cavalcanti
Dear Jeff, Thanks for your fast reply. No problem with manually installing the Basemap data files -- indeed, this is just what I do intend in order to create a frozen application. But other than setting up the BASEMAPDATA environment variable, is there any way to tell an application to look for