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 do

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" 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 : >> \usepackage{MinionPro}, Jouni K. S

Re: [Matplotlib-users] Plot aliasing

2008-12-29 Thread Kaushik Ghose
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 attempt to use GtkAgg failed presumably because I don't have things set up with GTk on my Mac. best -Kaushik Michael Droettboom wrote: > I'm not able to reproduce this on matp

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

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

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 SVN.

Re: [Matplotlib-users] Plot aliasing

2008-12-29 Thread John Hunter
On Mon, Dec 29, 2008 at 8:44 AM, Michael Droettboom 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 didn't se

Re: [Matplotlib-users] python and matplotlib animation

2008-12-29 Thread John Hunter
On Mon, Dec 29, 2008 at 1:13 AM, davev 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 my > code and tell

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 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

[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 fo

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

2008-12-29 Thread John Hunter
On Mon, Dec 29, 2008 at 10:17 AM, mfabulous wrote: > > 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 plo

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

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 davev
Will do (done actually). Here is the list of files: http://www.nabble.com/file/p21208385/MyFrame.py MyFrame.py http://www.nabble.com/file/p21208385/HeartPanel.py HeartPanel.py http://www.nabble.com/file/p21208385/app.py app.py http://www.nabble.com/file/p21208385/anim.wxg anim.wxg I've inclu

Re: [Matplotlib-users] python and matplotlib animation

2008-12-29 Thread John Hunter
On Mon, Dec 29, 2008 at 2:04 PM, davev 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 much > different from s

[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 does