Re: [Matplotlib-users] axes_grid: labels on colorbar

2010-04-06 Thread Jae-Joon Lee
This is something that needs to be fixed in the next release. Meanwhile, try something like, cax = grid.cbar_axes[0] cax.axis["right"].toggle(ticks=True, ticklabels=True, label=True) cax.set_ylabel("Test") Regards, -JJ On Tue, Apr 6, 2010 at 3:26 PM, Angus McMorland wrote: > Hi all, > I'm try

Re: [Matplotlib-users] Not using exponents on y-axis of log graphs

2010-04-06 Thread Alex S
Thanks again to Mike who explained my problems off list. For other people trying to do something similar, http://docs.python.org/library/stdtypes.html#string-formatting here is the page describing python string formats, and the format i was looking for to show decimals was '%g' (rather than '%d

Re: [Matplotlib-users] Not using exponents on y-axis of log graphs

2010-04-06 Thread Alex S
Ah thank you very much, that works fine except for decimals... (.1, .01, .001 etc all show as 0). Is there a way to show these as well (preferably without showing all the rest of the numbers as 1.000, 10.000, 100.000)? Sorry if this is a very newbie question... I don't know what symbol does wh

[Matplotlib-users] axes_grid: labels on colorbar

2010-04-06 Thread Angus McMorland
Hi all, I'm trying to use an AxesGrid to plot 5 images and a color bar. I can't work out how to get labels on the colorbar, and none of the examples shows this. Can anyone help? I presume this is a simple thing, once one knows the correct command. I'm creating the grid using the following code sn

Re: [Matplotlib-users] Not using exponents on y-axis of log graphs

2010-04-06 Thread Ryan May
On Tue, Apr 6, 2010 at 1:16 PM, Alex S wrote: > I've got a program that generates a bunch of plots with logarithmic charts. > Matplotlib handles them great, but it seems to by default label the y axis > ticks 10^0, 10^1, 10^2 etc.  Is there an way to make it spell out these > numbers instead (ie 1

[Matplotlib-users] Not using exponents on y-axis of log graphs

2010-04-06 Thread Alex S
Hi there, I've got a program that generates a bunch of plots with logarithmic charts. Matplotlib handles them great, but it seems to by default label the y axis ticks 10^0, 10^1, 10^2 etc. Is there an way to make it spell out these numbers instead (ie 1, 10, 100 etc)? I guess I could make cust

Re: [Matplotlib-users] Custom y-axis

2010-04-06 Thread Gökhan Sever
On Tue, Apr 6, 2010 at 12:29 PM, Florian Lindner wrote: > Hello, > > my matter is a bit difficult to explain for me, I hope you get the picture. > > I want to (line) plot pressure and temperatur at different stations in an > aircraft engine. The stations are labeled like 0, 1, 2, 22, 23, 3, ... >

[Matplotlib-users] Custom y-axis

2010-04-06 Thread Florian Lindner
Hello, my matter is a bit difficult to explain for me, I hope you get the picture. I want to (line) plot pressure and temperatur at different stations in an aircraft engine. The stations are labeled like 0, 1, 2, 22, 23, 3, ... (order is like that). Stations are on the y-axis and should be plot

Re: [Matplotlib-users] How to overlay an image on a multi plot? (Edit: how to plot sparklines on an existing plot)

2010-04-06 Thread Alan G Isaac
On 4/5/2010 11:19 PM, Josh Hemann wrote: > For true sparklines, here is > http://bitworking.org/news/Sparklines_in_data_URIs_in_Python another nice > example in Python . > Thanks! Alan -- Download Intel® Parallel S

Re: [Matplotlib-users] skipping mpl-axes-interaction during key_press_event's

2010-04-06 Thread Matthias Michler
On Wednesday 17 March 2010 15:58:11 Matthias Michler wrote: > On Wednesday 17 March 2010 15:05:32 John Hunter wrote: > > On Wed, Mar 17, 2010 at 4:10 AM, Matthias Michler > > > > wrote: > > > once more I'd like to ask for comments about my feature request and > > > proposed patch. > > > Should I p