[SciPy-dev] log plots

Heiko Henkelmann heiko at hhenkelmann.de
Sun Mar 3 14:46:33 EST 2002


Hello Eric,

thank you for integrating the patches. The grid lines on the axis with
logscale do not really disappear. Gnuplot is only using the grid for the
major ticks (0.1,1.0,10.0,...).

Heiko

----- Original Message -----
From: "eric" <eric at scipy.org>
To: <scipy-dev at scipy.org>
Sent: Sunday, March 03, 2002 1:01 PM
Subject: Re: [SciPy-dev] log plots


> Hey Heiko,
>
> Thanks for the log plot patches to gplt.  I changed the interface
slightly,
> added support for the y axis, and checked them into the cvs.  The
following
> should work now.
>
> >>> from scipy import gplt
> >>> gplt.plot([1,2,3])
> >>> gplt.logx()
> <converts to log scale on x axis>
> >>> gplt.logx('off')
> <back to linear>
> >>> gplt.logy()
> <now log on y axis>
>
> I  noticed that grid lines disappeared on axis with log scale.  Not sure
why
> this happens.
>
> eric
>






More information about the SciPy-Dev mailing list