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' which was for integers and so truncated decimals).
Thanks guys, Alex Alex S wrote: > > 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 > what on the string formatter, is there a web site somewhere that lays it > all out? As per usual, > http://matplotlib.sourceforge.net/api/ticker_api.html the manual has just > confused me... > -- View this message in context: http://old.nabble.com/Not-using-exponents-on-y-axis-of-log-graphs-tp28155571p28156753.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users