SourceForge logo
SourceForge logo
Menu

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

From: Alex S <sch...@gm...> - 2010年04月06日 20:00:33
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.

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /