Re: [Matplotlib-users] grid on log-plots

2009-09-09 Thread jihi
Hi, is it enough to overwrite the axesgrid.py file in my matplotlib 0.99 installation with the file from svn? I tried that, but i see no effects. Are there anywhere precompiled matplotlib releases for 1.0_win32_pre? Andreas Jae-Joon Lee schrieb: > On Tue, Sep 8, 2009 at 11:51 AM, Yann > Gouda

Re: [Matplotlib-users] grid on log-plots

2009-09-09 Thread Jae-Joon Lee
On Wed, Sep 9, 2009 at 4:30 AM, Yann wrote: > I can not try your revision but I will do it as soon as it is released. > Nervertheless I try your snippet with an AxesZero. I get the gridlines > and the axis but the first was over the second. It is not what I expected. You can rearrange the order of

Re: [Matplotlib-users] grid on log-plots

2009-09-09 Thread Yann
I can not try your revision but I will do it as soon as it is released. Nervertheless I try your snippet with an AxesZero. I get the gridlines and the axis but the first was over the second. It is not what I expected. As far as I am concerned, I can wait until matplotlib next release. Thanks, Ya

Re: [Matplotlib-users] grid on log-plots

2009-09-08 Thread Jae-Joon Lee
On Tue, Sep 8, 2009 at 11:51 AM, Yann Goudard wrote: > Hi, > > I have the same behaviour with LocatableAxes. HostAxes, ParasiteAxes and > LocatableAxes depend on 'mpl_toolkits.axes_grid.axislines.Axes'. It must > be the matter origin. Yes, and this was because I forgot to implement some necessary

Re: [Matplotlib-users] grid on log-plots

2009-09-08 Thread Yann Goudard
Hi, I have the same behaviour with LocatableAxes. HostAxes, ParasiteAxes and LocatableAxes depend on 'mpl_toolkits.axes_grid.axislines.Axes'. It must be the matter origin. This another example should draw a grid but does not: import wx from wx import Frame from matplotlib.backends.backend_wxagg

Re: [Matplotlib-users] grid on log-plots

2009-09-08 Thread Jae-Joon Lee
This is a bug in the axes_grid toolkit. As a matter of fact, gridlines in rectlinear coordinate are not implemented yet. Unfortunately, I don't see any easy workarounds. You may use mpl's original axis artists, but some of the functionality of axes_grid toolkit may be lost. host.toggle_axisli

Re: [Matplotlib-users] grid on log-plots

2009-09-08 Thread Andreas Fromm
thanks Sebastian, you are right, your code works here too. But i don't get it work in my multi y-axes plot from the matplotlib examples (http://matplotlib.sourceforge.net/examples/axes_grid/demo_parasite_axes.html). Even with linear plots, i get no gridlines. Any idea, whats wrong here? minim

Re: [Matplotlib-users] grid on log-plots

2009-09-07 Thread Sebastian Busch
jihi wrote: > ... can anybody tell me how to get gridlines in a logarithmic plot? ... from matplotlib.pyplot import * plot([1,10,100],[1,10,100]) grid() yscale('log') xscale('log') works here. best, sebastian. signature.asc Description: OpenPGP digital signature -

[Matplotlib-users] grid on log-plots

2009-09-07 Thread jihi
Hi, can anybody tell me how to get gridlines in a logarithmic plot? i tried eg.: loglog([1,10,100], [1,10,100]) grid(True) but neither the grid is drawn, nor an error occur. When i make a linear plot, grid(True) works fine and draws the grid. (win32, python 2.6, matplotlib 0.99) Thanks -