Re: [Matplotlib-users] Plot aliasing

2008-12-29 Thread Michael Droettboom
I'm not able to reproduce this on matplotlib SVN head with the GtkAgg backend. Which version and backend are you using? Mike Kaushik Ghose wrote: PS. In the code just disregard the line N = 1000 - it does nothing. Ghose, Kaushik wrote: Hi John, OK. I've managed to pare it down to the

Re: [Matplotlib-users] Savefig('file.pdf') error with latex custom font

2008-12-29 Thread Jouni K . Seppänen
I finally got around to addressing this issue from October: David Krapohl david.krap...@gmail.com writes: I am getting an error with savefig and pdf when I try to used matplotlib with latex font rendering (attached below). In etc/matplotlibrc, I set text.latex.preamble :

Re: [Matplotlib-users] Plotting NOAA data...

2008-12-29 Thread Jeff Whitaker
antonv wrote: Hey Jeff, I've got it sorted out a bit now. You're right the data was an output from Degrib and I had the option to output the csv's with or without data in the land areas. As before I was using a program that was placing the pixels in an image based on the X and Y columns it

Re: [Matplotlib-users] Plot aliasing

2008-12-29 Thread Michael Droettboom
You can hold off on updating. I am actually able to see it now, even on SVN HEAD. I'll look further and see if I can find a workaround. Cheers, Mike Kaushik Ghose wrote: Hi Mike, I'm using 0.98.3 with the TkAgg backend on Mac OS X. I will update matplotlib from the site and try again. My

Re: [Matplotlib-users] Plot aliasing

2008-12-29 Thread Michael Droettboom
This is now fixed in SVN HEAD. Two changes were made: a) Be more conservative about when segments are simplified based on their length b) Honor the (already existing) path.simplify rcParam in the *Agg backends. John's suggested patch is also a valid workaround, if you don't want to track

Re: [Matplotlib-users] Plot aliasing

2008-12-29 Thread John Hunter
On Mon, Dec 29, 2008 at 8:44 AM, Michael Droettboom md...@stsci.edu wrote: This is now fixed in SVN HEAD. Two changes were made: a) Be more conservative about when segments are simplified based on their length b) Honor the (already existing) path.simplify rcParam in the *Agg backends. I

Re: [Matplotlib-users] python and matplotlib animation

2008-12-29 Thread John Hunter
On Mon, Dec 29, 2008 at 1:13 AM, davev dve...@lifewaveinc.com wrote: After searching through the forums and trying many different things I have been unable to get animation working correctly using matplotlib in my python application. I'm hoping one of the experts here can take a quick look at

Re: [Matplotlib-users] Plot aliasing

2008-12-29 Thread Michael Droettboom
John Hunter wrote: On Mon, Dec 29, 2008 at 8:44 AM, Michael Droettboom md...@stsci.edu wrote: This is now fixed in SVN HEAD. Two changes were made: a) Be more conservative about when segments are simplified based on their length b) Honor the (already existing) path.simplify rcParam in

[Matplotlib-users] how to get xlims after zooming

2008-12-29 Thread mfabulous
Hi, I apologize if this was asked before. I am trying to implement of a zoom lock over multiple subplots. I.e. I have four subplots where the xaxis stretches from some value xmin to some xmax. The range is the same for all four plots. Now if the user zooms into a different range in one of the

Re: [Matplotlib-users] how to get xlims after zooming

2008-12-29 Thread Fabrice Silva
Le lundi 29 décembre 2008 à 08:17 -0800, mfabulous a écrit : Hi, I apologize if this was asked before. I am trying to implement of a zoom lock over multiple subplots. I.e. I have four subplots where the xaxis stretches from some value xmin to some xmax. The range is the same for all four

Re: [Matplotlib-users] how to get xlims after zooming

2008-12-29 Thread mfabulous
Excellent, thank you, this is exactly what I was looking for! Regards, Maximilian -- View this message in context: http://www.nabble.com/how-to-get-xlims-after-zooming-tp21205310p21206768.html Sent from the matplotlib - users mailing list archive at Nabble.com.

Re: [Matplotlib-users] python and matplotlib animation

2008-12-29 Thread John Hunter
On Mon, Dec 29, 2008 at 2:04 PM, davev dve...@lifewaveinc.com wrote: Will do (done actually). Here is the list of files: MyFrame.py HeartPanel.py app.py anim.wxg I've included the wxGlade file just to be complete. Please let me know if you see anything that is obviously wrong here. It's not

[Matplotlib-users] Manually limiting value ranges

2008-12-29 Thread Christian Lerrahn
Hi, I've been trying to do this for a while but just can't get it to work. :( There are 2 things I want to do. 1. I want to limit the value range in a line plot from matplotlib.pyplot.plot(). I thought that clip_box would do exactly that but setting something like [[-1,1],[-5,5]] or the like