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

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