[Matplotlib-users] colorbar uncentered plots

2010-09-28 Thread Philip Vetter
Hello! see below for sample code. (1) I find that the second subplot is shifted to the right. This seems to happen generally with colorbar. How do I fix it? (2) is there a way to clear/remove selected parts of the figure? I am using ipython for interactive figure drawing I find clf() will erase e

[Matplotlib-users] Bar chart with color map

2010-09-28 Thread Sylvain Archenault
Hello, I am generating a bar chart following the code in this example: http://matplotlib.sourceforge.net/examples/pylab_examples/barh_demo.html. I am wondering if it is possible to have bar with a colormap (using http://matplotlib.sourceforge.net/examples/pylab_examples/show_colormaps.html). The

[Matplotlib-users] Fwd: Bar chart with color map

2010-09-28 Thread Sylvain Archenault
Hello, I am generating a bar chart following the code in this example: http://matplotlib.sourceforge.net/examples/pylab_examples/barh_demo.html. I am wondering if it is possible to have bar with a colormap (using http://matplotlib.sourceforge.net/examples/pylab_examples/show_colormaps.html). The

Re: [Matplotlib-users] move xaxis label on the right

2010-09-28 Thread Benjamin Root
On Tue, Sep 28, 2010 at 3:05 PM, John Hunter wrote: > On Tue, Sep 28, 2010 at 2:10 PM, Ruggero wrote: > > > really there is no way to place the xlabel on the right as here: > > http://www.cernlove.org/blog/wp-content/uploads/2009/10/root_plot1d.png ? > > > Sorry, I misread the meaning of "and on

Re: [Matplotlib-users] move xaxis label on the right

2010-09-28 Thread John Hunter
On Tue, Sep 28, 2010 at 2:10 PM, Ruggero wrote: > really there is no way to place the xlabel on the right as here: > http://www.cernlove.org/blog/wp-content/uploads/2009/10/root_plot1d.png  ? Sorry, I misread the meaning of "and on the top for y axis". As Ben noted, if all you want to do is mo

Re: [Matplotlib-users] move xaxis label on the right

2010-09-28 Thread Benjamin Root
On Tue, Sep 28, 2010 at 2:10 PM, Ruggero wrote: > 2010/9/28 John Hunter : > > On Tue, Sep 28, 2010 at 10:04 AM, Ruggero wrote: > >> As in the title: usually axis label on the x axis is plottet in the > >> middle of the axis. How to move it on the right? (and on the top for y > >> axis) > > > > Y

Re: [Matplotlib-users] move xaxis label on the right

2010-09-28 Thread Ruggero
2010/9/28 John Hunter : > On Tue, Sep 28, 2010 at 10:04 AM, Ruggero wrote: >> As in the title: usually axis label on the x axis is plottet in the >> middle of the axis. How to move it on the right? (and on the top for y >> axis) > > You cannot coerce the xlabel to the top because it's y position i

Re: [Matplotlib-users] move xaxis label on the right

2010-09-28 Thread John Hunter
On Tue, Sep 28, 2010 at 11:29 AM, John Hunter wrote: > On Tue, Sep 28, 2010 at 10:04 AM, Ruggero wrote: >> As in the title: usually axis label on the x axis is plottet in the >> middle of the axis. How to move it on the right? (and on the top for y >> axis) > > You cannot coerce the xlabel to the

Re: [Matplotlib-users] move xaxis label on the right

2010-09-28 Thread John Hunter
On Tue, Sep 28, 2010 at 10:04 AM, Ruggero wrote: > As in the title: usually axis label on the x axis is plottet in the > middle of the axis. How to move it on the right? (and on the top for y > axis) You cannot coerce the xlabel to the top because it's y position is determined at drawtime to avoi

[Matplotlib-users] move xaxis label on the right

2010-09-28 Thread Ruggero
As in the title: usually axis label on the x axis is plottet in the middle of the axis. How to move it on the right? (and on the top for y axis) -- Start uncovering the many advantages of virtual appliances and start using