Re: [Matplotlib-users] defining/saving contours without plotting

2010-01-27 Thread Matthias Michler
Hi Jon, one thing you can do is to get the (x, y)-values of the calculated contourlines: cs = plt.contour(z, levels=[0]) a = cs.collections[0].get_paths()[0].vertices # -> array of shape (..., 2) hold x and y in first and second column I don't know wheter this is the best way, but at least for

Re: [Matplotlib-users] plot coordinates points

2010-01-27 Thread Matthias Michler
Hi, do you mean a single point with coordinates x and y like plot([1.2], [2.5], marker='+') Regards, Matthias On Wednesday 27 January 2010 17:26:39 franck kalala wrote: > Hey all > > how to plot a point coordinates in matplotlib? > I want for example to plot the point of > coordinates x=1.2,y

[Matplotlib-users] plot coordinates points

2010-01-27 Thread franck kalala
Hey all how to plot a point coordinates in matplotlib? I want for example to plot the point of coordinates x=1.2,y=2.5 Cheers -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online

[Matplotlib-users] defining/saving contours without plotting

2010-01-27 Thread Jonathan Slavin
To matplotusers: I want to create a plot that has an image and overplots contours, but the contours are defined relative to different data from that plotted in the image. Is there a way to save contour line data rather than plot it. It just occurred to me a way of creating the plot -- but I'm

Re: [Matplotlib-users] mplot3d bar3d errors

2010-01-27 Thread Derek Schuff
Thanks Reinier, Yes, upgrading to 0.99.1 seems to have fixed the problem. One slight oddity: the package I downloaded from the SF page linked at [2] had a filename of matplotlib-0.99.1.2.tar.gz however inside the tarball is a directory named matplotlib-0.99.1.1 and the PKG-INFO file also says 0.99

[Matplotlib-users] How to change tick labels?

2010-01-27 Thread Yannick Copin
Hi, I have a very crowded plot with lots of subplots, and tick labels tend to overlap. I wanted to drop e.g. the 1st and last x-tick labels for each subplot, doing something like: ax = P.subplot(1,1,1) ax.plot([1,2,3,2,1,2,3]) ax.set_xticklabels(['']+ [ lbl.get_text() for lb

Re: [Matplotlib-users] mplot3d bar3d errors

2010-01-27 Thread Reinier Heeres
Hi Derek, I just tried your program with the latest svn version and that seems to work fine, so I'd suggest you try that as well [1]. It looks to me like the fix should be present in 0.99.1-2 too [2]. Please let me know if you still run into the same problem. Cheers, Reinier [1] http://matplotl