Re: [Matplotlib-users] Importing Null data points

2009-04-10 Thread Eric Firing
CiarĂ¡n Mooney wrote: > Hi, > > I have an ASCII data set, which includes null data points. eg > > 1 x1 y1 z1 > 2 x2 y2 z2 > 3 x3 y3 z3 > 4 y3 z3 > 5 y4 z4 > 6 y5 > > I am using ipython with pylab enabled, and the load("/xxx/xxx") > function. However it chokes on the blank, "null",

[Matplotlib-users] How do I install Matplotlib 0.98 on Ubuntu 8.04 Hardy Heron?

2009-04-10 Thread bollweevil
sudo apt-get install python-matplotlib #This only gets matplotlib-0.91 I have tried downloading the matplotlib-0.98.5.2.tar.gz, but it requires an incredibly large number of prerequisites, and each of the prerequisites requires prerequisites, and I have now wasted hours on this. Please help me i

Re: [Matplotlib-users] Basemap Installation Errors

2009-04-10 Thread Andrew Straw
jtamir wrote: > > Andrew Straw wrote: >> Does that file .h exist at that location? >> > Yes, __multiarray_api.h is in > ~/lib/python2.5/site-packages/numpy/core/include/numpy/ > I am installing with prefix set to home directory. > > > > Andrew Straw wrote: >> can you re-send the >> output incl

Re: [Matplotlib-users] saving at a specified size

2009-04-10 Thread Michael McNeil Forbes
On 8 Apr 2009, at 12:29 PM, Gideon Simpson wrote: > Is there a way to save a figured at a specified size? > -gideon I have always specified the figure size first in the figure command: fig_width = 5 # Default unit is inches fig_height = 3 plt.figure(figsize=(fig_width, fig_height)) plt.plot(..

Re: [Matplotlib-users] Basemap Installation Errors

2009-04-10 Thread jtamir
Andrew Straw wrote: > > Does that file .h exist at that location? > Yes, __multiarray_api.h is in ~/lib/python2.5/site-packages/numpy/core/include/numpy/ I am installing with prefix set to home directory. Andrew Straw wrote: > > can you re-send the > output including the first error? > Th

Re: [Matplotlib-users] matplotlib._path failed on windows build for Python 2.6

2009-04-10 Thread Lorenzo Di Gregorio
Ouch, it looks like MinGW and Python do not fit 100% to each other. Please check out this bug report: http://bugs.python.org/issue3308 "Basically MinGW erroneously ships a .lib saying localtime is in MSVCR90.DLL when it isn't. That means there is no link failure but the *pyd* will fail to load w

Re: [Matplotlib-users] matplotlib._path failed on windows build for Python 2.6

2009-04-10 Thread Lorenzo Di Gregorio
On 4/10/09, Michael Droettboom wrote: > > Lorenzo Di Gregorio wrote: > >> Well, that's exactly the problem: I just can't load some DLLs! >> >>> import matplotlib._path >> >> Traceback (most recent call last): >> File "", line 1, in >>import matplotlib._path >> ImportError: DLL load failed:

Re: [Matplotlib-users] Updating a plot

2009-04-10 Thread Andrew Straw
Pellegrini Eric wrote: > Hello everybody, > > I would like to create a plot from which I set the x data later. The > method set_xdata works but the corresponding plot displays the initial > x limits. Is it possible to update the plot automatically in order > that the displayed plot has x limits cor

Re: [Matplotlib-users] Display full number in ticks

2009-04-10 Thread Andrew Straw
Michael Droettboom wrote: > Pim Schellart wrote: >> Dear Matplotlib users/developers, >> >> The default behaviour of matplotlib.pyplot is to display large (e.g. >> 2452298.7554547498 as a small number 0.25545474980026484 + >> 2.4522985e6) I would like to be able to do one of the following. >> >>

Re: [Matplotlib-users] different dimensions for subplots + same x label

2009-04-10 Thread Pau
http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg03134.html I'd like to understand the syntax, though... For the shared x label I found something at the wiki, but it was a bit obscure... 2009/4/10 Pau : > Hello, > > is it possible to define the dimensions of a subplot to use

Re: [Matplotlib-users] Lots of little problems with appearance (Agg vs. GTK, xlim, tick locators)

2009-04-10 Thread Michael Droettboom
Are you using the same version on matplotlib in both places? What are the versions? It seems unlikely these differences would be caused by the backend -- more likely just a version difference. Mike bollweevil wrote: > Hello All, > > I am having lots of very frustrating little problems with Ma

[Matplotlib-users] Lots of little problems with appearance (Agg vs. GTK, xlim, tick locators)

2009-04-10 Thread bollweevil
Hello All, I am having lots of very frustrating little problems with Matplotlib. 1. Here is an example of one problem: the x-axis looks awful even though I coded a tick locator and tick formatter special: http://www.nabble.com/file/p22989017/inE.png I think I know what caused this, too. While p

[Matplotlib-users] different dimensions for subplots + same x label

2009-04-10 Thread Pau
Hello, is it possible to define the dimensions of a subplot to use 70% of the plot surface and the other one 30%? I'd also like the plots to share the same x label... how to do it? thanks -- This SF.net email is sponso

[Matplotlib-users] Updating a plot

2009-04-10 Thread Pellegrini Eric
Hello everybody, I would like to create a plot from which I set the x data later. The method set_xdata works but the corresponding plot displays the initial x limits. Is it possible to update the plot automatically in order that the displayed plot has x limits corresponding to the newly set x d

Re: [Matplotlib-users] Display full number in ticks

2009-04-10 Thread Michael Droettboom
Pim Schellart wrote: > Dear Matplotlib users/developers, > > The default behaviour of matplotlib.pyplot is to display large (e.g. > 2452298.7554547498 as a small number 0.25545474980026484 + > 2.4522985e6) I would like to be able to do one of the following. > > - Set the number to be subtracted m

[Matplotlib-users] Display full number in ticks

2009-04-10 Thread Pim Schellart
Dear Matplotlib users/developers, The default behaviour of matplotlib.pyplot is to display large (e.g. 2452298.7554547498 as a small number 0.25545474980026484 + 2.4522985e6) I would like to be able to do one of the following. - Set the number to be subtracted manually (I know I can just su

Re: [Matplotlib-users] matplotlib._path failed on windows build for Python 2.6

2009-04-10 Thread Michael Droettboom
Lorenzo Di Gregorio wrote: > Well, that's exactly the problem: I just can't load some DLLs! > > >>> import matplotlib._path > > Traceback (most recent call last): > File "", line 1, in > import matplotlib._path > ImportError: DLL load failed: Die angegebene Prozedur wurde nicht > gefunden