Re: [Matplotlib-users] plotting numbers on axes in scientific notation

2008-10-04 Thread Eric Firing
Eric Firing wrote: > Fabrice Silva wrote: >> Le mardi 09 septembre 2008 à 08:26 -0400, Michael Droettboom a écrit : >>> You can use >>> >>> def ticklabel_format(self, **kwargs): >> It did not figure how to use that! >> I've tried in ipython : >> import numpy as np >> t = np.lins

Re: [Matplotlib-users] plotting numbers on axes in scientific notation

2008-10-04 Thread Eric Firing
Fabrice Silva wrote: > Le mardi 09 septembre 2008 à 08:26 -0400, Michael Droettboom a écrit : >> You can use >> >> def ticklabel_format(self, **kwargs): > It did not figure how to use that! > I've tried in ipython : > import numpy as np > t = np.linspace(0,1,1024) > f =

Re: [Matplotlib-users] plotting numbers on axes in scientific notation

2008-10-04 Thread Fabrice Silva
Le mardi 09 septembre 2008 à 08:26 -0400, Michael Droettboom a écrit : > You can use > > def ticklabel_format(self, **kwargs): It did not figure how to use that! I've tried in ipython : import numpy as np t = np.linspace(0,1,1024) f = np.sin(10*t)/1e5 plot(t,f)

Re: [Matplotlib-users] plotting numbers on axes in scientific notation

2008-09-09 Thread Michael Droettboom
You can use def ticklabel_format(self, **kwargs): """ Convenience method for manipulating the ScalarFormatter used by default for linear axes. Optional keyword arguments: === = Keyword Description

[Matplotlib-users] plotting numbers on axes in scientific notation

2008-09-07 Thread anirudh vij
Hi, How can I plot numbers on the x and y axes in scientific notation? I have very large values on the y axis which I'd like to show as 1e9 and not 1 followed by 9 zeros. - This SF.Net email is sponsored by the Moblin Your Mo