Re: [Matplotlib-users] Ticks im mplot3d at the edges

2010-03-22 Thread Martin Bothe
Well, to be clear. How to get tick labels at the very end of the axes? If the x-axis goes from is 0, 1 the axis ticks will be at 0.2,0.4,0.6 and 0.8 as you can here: see http://matplotlib.sourceforge.net/examples/mplot3d/2dcollections3d_demo.html How do I additionally get labels at 0 and 1? Hope t

[Matplotlib-users] contourf creats white-like lines (or gaps) between each two color patches

2010-03-22 Thread lmkli
When I use contourf to plot a filled contour map, I get some white-like lines between each two color patches, or you can call them gaps. This is not like the contourf doc string says: "it does not draw the polygon edges.", actually, it does. http://old.nabble.com/file/p27982822/contourf1.png cont

Re: [Matplotlib-users] contourf creats white-like lines (or gaps) between each two color patches

2010-03-22 Thread Marius 't Hart
Actually, it does not draw the polygon edges, but leaves small gaps between them. Through those gaps you can see the background. (This also happens with polar plots and other polygons by the way.) I consider this a bug, though there are ways around it. For contour plots one can plot two contour

[Matplotlib-users] Sharing axes on multiple subplots

2010-03-22 Thread Gökhan Sever
Hello, I am testing the newly added subplots function in ipython -pylab with the following code: f, ((ax1, ax2), (ax3, ax4)) = plt.subplots(2,2, sharey=True) ax1.plot(np.random.random(20)) ax2.plot(np.random.random(20)) ax3.plot(np.random.random(20)) ax4.plot(np.random.random(20)) For some reaso

[Matplotlib-users] basemap and py2exe

2010-03-22 Thread Yagua Rovi
Hello World, I'm using py2exe to create an executable on windows . There is a setup.py file that allows me to create this executable under eclipse. I have a problem with basemap. Probably, the app needs data basemap directory but I don't know where to put it. Thanks for your help. Yagua The conte

Re: [Matplotlib-users] mpl UML?

2010-03-22 Thread David Carmean
On Sun, Mar 21, 2010 at 05:52:55PM -0500, Ryan May wrote: > On Sun, Mar 21, 2010 at 3:35 PM, David Carmean wrote: [snip] > > One of the things I'm trying to figure out is whether I can build > > a graphic in "reverse order".  The standard M.O. seems to be to [snip] > Certainly things lik

Re: [Matplotlib-users] basemap and py2exe

2010-03-22 Thread Friedrich Romstedt
I'm not shure whether the following suggestion solves your problem, but it would simplify your script anyway. import matplotlib ... setup(..., data_files = matplotlib.get_py2exe_datafiles()) And maybe don't forget to exclude 'libgdk_pixbuf-2.0-0.dll' (on my system) in 'dll_excludes'. But I actua

[Matplotlib-users] installation question

2010-03-22 Thread Mathes, Gary C
Installation question: The import pylab command reports an error. See bold below for details. What installation step(s) am I missing? Thanks! # uname -a Linux SESB01-RE01 2.6.18-92.el5 #1 SMP Tue Jun 10 18:51:06 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux #!/usr/bin/python # File: mp_versions.

Re: [Matplotlib-users] installation question

2010-03-22 Thread Michael Droettboom
It looks like you're using the gtk backend but you're running on a remote terminal without an X11 connection. That's what "could not open display" probably means. Are you logged in remotely by any chance? Does 'python -c "import gtk" ' work? If you want to run headless, you can use the "Agg" ba

Re: [Matplotlib-users] installation question

2010-03-22 Thread Christopher Barker
Mathes, Gary C wrote: > Installation question: > > > > The *import pylab* command reports an error. See bold below for > details. What installation step(s) am I missing? it looks like you've got GTK set as your default back-end, but are not running and X-server on this box. If you want to

Re: [Matplotlib-users] basemap and py2exe

2010-03-22 Thread Yagua Rovi
I identify the problem. There is no basemap data directory and the app search those datas in [MY_DIR]\dist\library.zip\mpl_toolkits\basemap\data But I don't know how to add it at the compilation 2010/3/22 Friedrich Romstedt : > I'm not shure whether the following suggestion solves your pro

[Matplotlib-users] Problem saving a plot in OSX

2010-03-22 Thread Vincent Davis
I am not able to name plots when saving them from the plot menu in OSX. When I click the save menu item I get the nice OSX save dialog box but I am not able to type in the text field. I can select an existing file which then fills the text field with that name but I am still not able to change the

Re: [Matplotlib-users] Problem saving a plot in OSX

2010-03-22 Thread Andre Walker-Loud
Hi Vincent, I had this problem when I installed python from source code and did not use the --enable-framework flag at the ./configure stage (learned I should have it from some document - but can't remember if it was in matplotlib doc, on the internet, in a python doc etc). I then went ba

Re: [Matplotlib-users] Problem saving a plot in OSX

2010-03-22 Thread Vincent Davis
> > I had this problem when I installed python from source code and did not use > the --enable-framework flag at the ./configure stage (learned I should have > it from some document - but can't remember if it was in matplotlib doc, on > the internet, in a python doc etc). I am using the enthought

Re: [Matplotlib-users] Problem saving a plot in OSX

2010-03-22 Thread Andre Walker-Loud
I had this problem when I installed python from source code and did not use the --enable-framework flag at the ./configure stage (learned I should have it from some document - but can't remember if it was in matplotlib doc, on the internet, in a python doc etc). I am using the enthought distr

Re: [Matplotlib-users] contourf creats white-like lines (or gaps) between each two color patches

2010-03-22 Thread lmkli
Thank you! I just thought there must be a solution. I saw someone posted he can modified contour.py to fix this, but I failed. :( Marius 't Hart-3 wrote: > > Actually, it does not draw the polygon edges, but leaves small gaps > between them. Through those gaps you can see the background. (Thi