Re: [Matplotlib-users] Basemap/ orthographic projection plot doesn't respect globe boundary

2011-09-08 Thread Jakob Malm
Picking up on an old thread. Hopefully Jeff is still listening in... On 2010-04-04 23:24, Jeff Whitaker wrote: On 4/4/10 11:06 AM, Will Hewson wrote: Hi again Jeff et al... I've had a play around with the extra few lines of code - on paper this seems like it should solve the problems I'm

[Matplotlib-users] stacked bar chart

2011-09-08 Thread xyz
Hello, I have found http://matplotlib.sourceforge.net/plot_directive/mpl_examples/pylab_examples/histogram_demo_extended_05.hires.png http://matplotlib.sourceforge.net/plot_directive/mpl_examples/pylab_examples/histogram_demo_extended.py How is it possible to the following draw stacked bar charts

[Matplotlib-users] color bar ticks

2011-09-08 Thread Yves Revaz
Dear List, how is it possible to change the color of the ticks of a colorbar, created using : cb = mpl.colorbar.ColorbarBase(ax, cmap=cmap,norm=norm,orientation='horizontal',format=formatter) Thanks in advance ! yves -- (o o)

[Matplotlib-users] one pixel white border : bug ?

2011-09-08 Thread Yves Revaz
Dear List, when I'm saving a plot with the option facecolor='k', around my image, there is still a one pixel white border. How is it possible to remove this ? try for example this very simple script: (using ) import pylab as pt from numpy import * x = arange(0,10) y = x**2 pt.plot(x,y)

Re: [Matplotlib-users] one pixel white border : bug ?

2011-09-08 Thread Benjamin Root
On Thu, Sep 8, 2011 at 10:30 AM, Yves Revaz yves.re...@epfl.ch wrote: Dear List, when I'm saving a plot with the option facecolor='k', around my image, there is still a one pixel white border. How is it possible to remove this ? try for example this very simple script: (using ) import

Re: [Matplotlib-users] stacked bar chart

2011-09-08 Thread Benjamin Root
On Thu, Sep 8, 2011 at 7:11 AM, xyz mit...@op.pl wrote: Hello, I have found http://matplotlib.sourceforge.net/plot_directive/mpl_examples/pylab_examples/histogram_demo_extended_05.hires.png

Re: [Matplotlib-users] it is possible to use basemap to create regular spaced lat/lon grids?

2011-09-08 Thread Matt Funk
Hi, sorry that it has taken me so long to reply. Anyway, i could be wrong, but i don't think that the code: xi = np.linspace(llcrnlon,urcrnlon,1000) yi = np.linspace(llcrnlat,urcrnlat,1000) will produce a grid which gives the lat/lon coordinates with 1km spacing. The reason being is that

Re: [Matplotlib-users] Basemap/ orthographic projection plot doesn't respect globe boundary

2011-09-08 Thread Jeff Whitaker
On 9/8/11 1:51 AM, Jakob Malm wrote: Picking up on an old thread. Hopefully Jeff is still listening in... On 2010-04-04 23:24, Jeff Whitaker wrote: On 4/4/10 11:06 AM, Will Hewson wrote: Hi again Jeff et al... I've had a play around with the extra few lines of code - on paper this seems