Re: [Matplotlib-users] range for log scale

2009-09-21 Thread Janwillem

P.S.
I noted that the new versions of OOcalc and Exel, 3.0 and 2007, now do allow
log scales other than in decades.


Janwillem wrote:
 
 Is it possible to have in Matplotlib.pyplot a log (base 10) scale that 
 does go from xmin to xmax where xmin and xmax are not powers of 10 (as 
 in Excel and OOCalc)?? E.g. a scale from 20 to 2500 like you can do in 
 SciDAVis (and Origin and Mathematica) Scale/from  and Scale/to.
 I hope so,
 Thanks, Janwillem
 
 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9#45;12, 2009. Register
 now#33;
 http://p.sf.net/sfu/devconf
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users
 
 

-- 
View this message in context: 
http://www.nabble.com/range-for-log-scale-tp25529894p25530202.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] range for log scale

2009-09-20 Thread Janwillem van Dijk
Is it possible to have in Matplotlib.pyplot a log (base 10) scale that 
does go from xmin to xmax where xmin and xmax are not powers of 10 (as 
in Excel and OOCalc)?? E.g. a scale from 20 to 2500 like you can do in 
SciDAVis (and Origin and Mathematica) Scale/from  and Scale/to.
I hope so,
Thanks, Janwillem

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] range for log scale

2009-09-20 Thread Sebastian Busch
Janwillem van Dijk wrote:
 Is it possible to have in Matplotlib.pyplot a log (base 10) scale that 
 does go from xmin to xmax where xmin and xmax are not powers of 10 ...

yes.

best regards,
sebastian.



signature.asc
Description: OpenPGP digital signature
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] range for log scale

2009-09-20 Thread Eric Firing
Janwillem van Dijk wrote:
 Is it possible to have in Matplotlib.pyplot a log (base 10) scale that 
 does go from xmin to xmax where xmin and xmax are not powers of 10 (as 
 in Excel and OOCalc)?? E.g. a scale from 20 to 2500 like you can do in 
 SciDAVis (and Origin and Mathematica) Scale/from  and Scale/to.

Example using ipython -pylab:

In [1]:x = arange(2.5, 250)

In [2]:y = x**2

In [3]:semilogy(x, y)
Out[3]:[matplotlib.lines.Line2D object at 0x91ddc8c]

In [4]:axis('tight')
Out[4]:(2.5, 249.5, 6.25, 62250.25)

In [5]:axis(ymin=5, ymax=7)
Out[5]:(2.5, 249.5, 5, 7)

OK, that was with y, but it works the same with x.

Eric


 I hope so,
 Thanks, Janwillem
 
 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users