Re: [Matplotlib-users] Color Bar in Contour Plot

2007-07-24 Thread Eric Firing
Lorenzo, 1) What version of mpl are you using? 2) Please generate a short, simple stand-alone script that illustrates the problem. Use some minimal amount of fake data, preferably generated by a function rather than read from a table. Eric Lorenzo Isella wrote: > Dear All, > Some weeks ago I

[Matplotlib-users] Color Bar in Contour Plot

2007-07-24 Thread Lorenzo Isella
Dear All, Some weeks ago I emailed the list asking how to represent data on a non-rectangular domain (namely a velocity component along a tube cross-section in my case). I now can tell that everything goes as in the example described by Hansen in Matplotlib-users Digest, Vol 14, Issue 13, which

Re: [Matplotlib-users] Efficient animations w/ 2D plots (imshow)

2007-07-24 Thread Greg Willden
Nevermind. I'm an idiot. I removed the call to update_line() before p.show() and now it works. That was cruft left over from earlier experiments Cheers, Greg On 7/24/07, Greg Willden <[EMAIL PROTECTED]> wrote: Hello All, I'm looking for the most efficient way to perform 2D plot animations.

[Matplotlib-users] Efficient animations w/ 2D plots (imshow)

2007-07-24 Thread Greg Willden
Hello All, I'm looking for the most efficient way to perform 2D plot animations. I've been experimenting with the animation examples from the Matplotlib cookbook. More specifically I'm using a version of "Animating selected plot elements" that has been modified to work with wxWidgets. I want t

Re: [Matplotlib-users] Latex, Labels and PDF

2007-07-24 Thread Darren Dale
On Tuesday 24 July 2007 12:59:54 pm Peter Würtz wrote: > Hi, > > > Try getting your system set up to use the xpdf distiller, that has always > > given me excellent results. > > Thanks alot! Using xpdf gives perfect results! > http://www.staff.uni-mainz.de/wuertz/matplotlib/xpdf_tof_spectrum_bec_500

Re: [Matplotlib-users] Latex, Labels and PDF

2007-07-24 Thread Peter Würtz
Hi, > Try getting your system set up to use the xpdf distiller, that has always > given me excellent results. Thanks alot! Using xpdf gives perfect results! http://www.staff.uni-mainz.de/wuertz/matplotlib/xpdf_tof_spectrum_bec_500ns.eps http://www.staff.uni-mainz.de/wuertz/matplotlib/xpdf_tof_sp

Re: [Matplotlib-users] Latex, Labels and PDF

2007-07-24 Thread Darren Dale
On Tuesday 24 July 2007 9:50:46 am Peter Würtz wrote: > Hi, > > I ran into some troubles when trying to do the following with > matplotlib: > - plotting a figure > - using latex for axis labels > - (getting acceptable fonts) > - getting a pdf in the end > I've not been able

Re: [Matplotlib-users] Latex, Labels and PDF

2007-07-24 Thread John T Whelan
On Tue, 24 Jul 2007, Jouni K. Seppänen wrote: Peter Würtz <[EMAIL PROTECTED]> writes: The documentation says that \rm{} should be used, but "$\rm{some label text} (\mu V)$" becomes "somelabeltext\muV" This is similar to what you would get in TeX, so strictly taken it is not a bug. Howev

Re: [Matplotlib-users] Latex, Labels and PDF

2007-07-24 Thread Jouni K . Seppänen
Peter Würtz <[EMAIL PROTECTED]> writes: > The documentation says that \rm{} should be used, but > > "$\rm{some label text} (\mu V)$" becomes "somelabeltext\muV" This is similar to what you would get in TeX, so strictly taken it is not a bug. However, in TeX you could write "some label text ($\mu

Re: [Matplotlib-users] Latex, Labels and PDF

2007-07-24 Thread Christian Meesters
Hoi Peter, > "$\rm{some label text} (\mu V)$" becomes "somelabeltext\muV" You could try r"$\rm{some\ label\ text} (\mu V)$" instead. (Note the backslashes and the 'raw' r in front of the string.) This way the string should be interpreted fine. You can use the '\ ' to force a space, but whether it'

[Matplotlib-users] Latex, Labels and PDF

2007-07-24 Thread Peter Würtz
Hi, I ran into some troubles when trying to do the following with matplotlib: - plotting a figure - using latex for axis labels - (getting acceptable fonts) - getting a pdf in the end I've not been able to solve this. In the documentation I found 2 ways to do this.