Re: [Matplotlib-users] Right-to-left longitude with Basemap

2010-09-18 Thread Jeff Whitaker
On 9/16/10 12:38 PM, Mario Juric wrote: Hi, I'm looking at Basemap as a backend for plotting maps of the sky in different projections, and so far it seems like a really good match! Excellent work! The only problem that I don't know how to solve is that in astronomy the

Re: [Matplotlib-users] Right-to-left longitude with Basemap

2010-09-18 Thread Joey Richards
Hi Mario, (Sorry for the reply to a reply, but I was not on the list when the original message was posted) This may not be useful for Basemap, but I did this with the matplotlib.projections.geo HammerAxes projection. I got it to work by subclassing that and modifying the

Re: [Matplotlib-users] Dashed line step plot

2010-09-18 Thread Gökhan Sever
On Fri, Sep 17, 2010 at 8:59 PM, Benjamin Root ben.r...@ou.edu wrote: Not a bug, but a feature. In step(), the 'linestyle' kwarg gets over-ridden with a value of 'steps-' + kwargs['where']. Ben Root Hard to interpret that way at the first look. This does what I want: plt.plot(range(10),

Re: [Matplotlib-users] Dashed line step plot

2010-09-18 Thread Benjamin Root
On Sat, Sep 18, 2010 at 10:39 AM, Gökhan Sever gokhanse...@gmail.comwrote: On Fri, Sep 17, 2010 at 8:59 PM, Benjamin Root ben.r...@ou.edu wrote: Not a bug, but a feature. In step(), the 'linestyle' kwarg gets over-ridden with a value of 'steps-' + kwargs['where']. Ben Root Hard to

Re: [Matplotlib-users] How to add extra ticks to colorbar

2010-09-18 Thread Benjamin Root
On Fri, Sep 17, 2010 at 11:33 PM, Jeremy Conlin jlcon...@gmail.com wrote: On Fri, Sep 17, 2010 at 12:44 AM, Scott Sinclair scott.sinclair...@gmail.com wrote: On 16 September 2010 22:52, Jeremy Conlin jlcon...@gmail.com wrote: I have a colorbar which has some ticks, but I would like to add

Re: [Matplotlib-users] legend font color

2010-09-18 Thread musik
That works perfectly. Thank you all so much! Gökhan SEVER-2 wrote: On Fri, Sep 17, 2010 at 1:13 PM, musik xi.xiaoxi...@gmail.com wrote: Is there a way to set the legend font color? I am plotting multiple sets of data using different colors. I basically want to set each legend font

Re: [Matplotlib-users] py2exe and matplotlib - Fonts: do I need them all?

2010-09-18 Thread Carlos Grohmann
Many thanks Ben! I went and removed all fonts but regular helvetica and vera, also I removed all but the .png files under images, and now my mpl-data is about 250 kb. cheers Carlos On Thu, Sep 16, 2010 at 21:39, Benjamin Root ben.r...@ou.edu wrote: On Thu, Sep 16, 2010 at 5:33 PM, Carlos

Re: [Matplotlib-users] how to plot contour on a regular grid with mask ?

2010-09-18 Thread Forest Yang
Thanks, that works fantastically ! -- Forest. On Fri, Sep 17, 2010 at 9:23 PM, Benjamin Root ben.r...@ou.edu wrote: On Fri, Sep 17, 2010 at 8:05 PM, Forest Yang yzine0...@gmail.com wrote: Hi   I have a function z(x, y) on a regular grid. But some of the value z are not defined on (x,y). I