Re: [Matplotlib-users] changes to plot after py2exe and resizing

2007-11-16 Thread C M
On Nov 16, 2007 9:23 AM, John Hunter <[EMAIL PROTECTED]> wrote: > s > > On Nov 15, 2007 10:42 PM, C M <[EMAIL PROTECTED]> wrote: > > sorry, the last email did not get the pic attached. retrying, and text > > recopied below: > > -- > > > > Using Python 2

Re: [Matplotlib-users] saving figures

2007-11-16 Thread John Hunter
On Nov 16, 2007 2:54 PM, Mark Bakker <[EMAIL PROTECTED]> wrote: > Erik - > > You write that adding a 'save' is difficult. > I can see it is involved, but don't quite see how it is specifically > difficult. > The way I see it, every item that is added to a figure needs a method > to write itself to

Re: [Matplotlib-users] Error ellipsis for quivers?

2007-11-16 Thread Eric Firing
Hanno Klemm wrote: > Eric, > > if this is relatively straightforward, I might try and give it a shot. > However, at the moment, I don't even have a good idea how I get pylab > to draw an ellipsis given the two axes. > > If you could point me into the right direction I might try and start > writin

Re: [Matplotlib-users] saving figures

2007-11-16 Thread Mark Bakker
Erik - You write that adding a 'save' is difficult. I can see it is involved, but don't quite see how it is specifically difficult. The way I see it, every item that is added to a figure needs a method to write itself to a file. So you loop through all lines, polygons, and such, and write them to

[Matplotlib-users] matplotlib/__init__.py : gs version parsing problem

2007-11-16 Thread Xavier Gnata
Hi, Quoting matplotlib/__init__.py : def checkdep_ghostscript(): try: if sys.platform == 'win32': command = 'gswin32c -v' else: command = 'gs -v' stdin, stdout = os.popen4(command) line = stdout.readlines()[0] v = line.split()[2

Re: [Matplotlib-users] changes to plot after py2exe and resizing

2007-11-16 Thread John Hunter
s On Nov 15, 2007 10:42 PM, C M <[EMAIL PROTECTED]> wrote: > sorry, the last email did not get the pic attached. retrying, and text > recopied below: > -- > > Using Python 2.5, wxPython 2.8.4.2 (msw-unicode) matplotlib 0.90.1 > on winXP. I have two qu

Re: [Matplotlib-users] Error ellipsis for quivers?

2007-11-16 Thread Michael Droettboom
Don't take this is a definitive answer, because this may be out of date... The quiver.py module contains the following comment at the top: """ This will also become a home for things such as standard deviation ellipses, which can and will be derived very easily from the Quiver code. """ ...sugg

Re: [Matplotlib-users] Error ellipsis for quivers?

2007-11-16 Thread Eric Firing
Michael Droettboom wrote: > Don't take this is a definitive answer, because this may be out of > date... The quiver.py module contains the following comment at the top: > > """ > This will also become a home for things such as standard > deviation ellipses, which can and will be derived very eas

Re: [Matplotlib-users] matplotlib/__init__.py : gs version parsing problem

2007-11-16 Thread John Hunter
On Nov 16, 2007 10:03 AM, Xavier Gnata <[EMAIL PROTECTED]> wrote: > /usr/lib/python2.4/site-packages/matplotlib/image.py in get_extent(self) > 286 sz = self.get_size() > 287 #print 'sz', sz > --> 288 numrows, numcols = sz > 289 if self.or

Re: [Matplotlib-users] Error ellipsis for quivers?

2007-11-16 Thread Hanno Klemm
Eric, if this is relatively straightforward, I might try and give it a shot. However, at the moment, I don't even have a good idea how I get pylab to draw an ellipsis given the two axes. If you could point me into the right direction I might try and start writing some first implementation of this

Re: [Matplotlib-users] matplotlib/__init__.py : gs version parsing problem

2007-11-16 Thread Darren Dale
On Friday 16 November 2007 10:28:25 am Xavier Gnata wrote: > Hi, > > Quoting matplotlib/__init__.py : > > def checkdep_ghostscript(): > try: > if sys.platform == 'win32': > command = 'gswin32c -v' > else: > command = 'gs -v' > stdin, stdout = os.

Re: [Matplotlib-users] plot_suface coloring

2007-11-16 Thread Favre-Nicolin Vincent
> Thanks for (the only) reply Eric. I guess I have to switch over to > another plotting tool if I really want the color (maybe Gnuplot). Too > bad I started to like matplotlibs 3D plotting. You can try Mayavi (it may require Mayavi2, see http://scipy.org/Cookbook/MayaVi/) For surface plots, s

Re: [Matplotlib-users] plot_suface coloring

2007-11-16 Thread Seyit Hocuk
Eric Firing wrote: > Seyit Hocuk wrote: >> Hi everybody, >> >> I have sent this email before today, but I wasn't a member back then. >> So I don't know if it was sent. Anyway I am sending it again, if >> anyone knows how to color the plot_surface function (along an axis >> perhaps), please share

Re: [Matplotlib-users] matplotlib/__init__.py : gs version parsing problem

2007-11-16 Thread Xavier Gnata
Darren Dale wrote: > On Friday 16 November 2007 10:28:25 am Xavier Gnata wrote: > >> Hi, >> >> Quoting matplotlib/__init__.py : >> >> def checkdep_ghostscript(): >> try: >> if sys.platform == 'win32': >> command = 'gswin32c -v' >> else: >> command = '

[Matplotlib-users] Error ellipsis for quivers?

2007-11-16 Thread Hanno Klemm
Hi all, I am looking for the possibility to plot quivers with error ellipsis on the end, representing the uncertainty in a velocity measurement. I looked around but I haven't found a functionality for that in pylab. Is this available or how would I go about writing such a functionality? Best reg

Re: [Matplotlib-users] plot_suface coloring

2007-11-16 Thread Eric Firing
Seyit Hocuk wrote: > Hi everybody, > > I have sent this email before today, but I wasn't a member back then. So > I don't know if it was sent. Anyway I am sending it again, if anyone > knows how to color the plot_surface function (along an axis perhaps), > please share your knowledge. > > Than