ah, should have been:
ax1.grid()
ax2.grid()
ax1.yaxis.grid(False)
--
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev___
M
Hi Paul,
thanks for your efforts, I've figured it out by myself by now, with you
pieces of code:
ax1.grid()
ax2.grid()
ax1.xaxis.grid(False)
does the trick :)
--
This SF.net email is sponsored by Windows:
Build for Wind
On Thu, Jun 13, 2013 at 1:33 PM, Daniel Mader <
danielstefanma...@googlemail.com> wrote:
> Hi Paul,
>
> I've modified your suggestion a little, since I don't want a grid for the
> primary axis at all -- unfortunately to no avail, i.e. no grid line at all:
>
> import numpy
>
> import matplotlib
>
>
Hi Paul,
I've modified your suggestion a little, since I don't want a grid for the
primary axis at all -- unfortunately to no avail, i.e. no grid line at all:
import numpy
import matplotlib
matplotlib.use('agg')
import matplotlib.pyplot as plt
datax = numpy.arange(50)
data1 = numpy.sin(data
On Thu, Jun 13, 2013 at 4:47 AM, Daniel Mader <
danielstefanma...@googlemail.com> wrote:
> Hi,
>
> I need a twinx() plot with horizontal and vertical grid lines for the
> second axis, just like the usual grid for the first axis. I don't need or
> want to specify the ticks manually, though!
>
> My
Hi,
I need a twinx() plot with horizontal and vertical grid lines for the
second axis, just like the usual grid for the first axis. I don't need or
want to specify the ticks manually, though!
My example code just produces horizontal lines:
import pylab
datax = pylab.arange(50)
data1 = pylab.s