John Hunter wrote:
>>>>>> "Volker" =3D=3D Volker Lorrmann <lor...@ph...> w=
rites:
>>>>>> =20
>
> Volker> Hi guys, how can i tell matplotlib to only show the xgrid
> Volker> (grid without y -lines ;) ) I=B4ve searched and googled a
> Volker> lot. But i can=B4t find a solution.
>
> You should be able to toggle the grid separately with
>
> ax.xaxis.grid(True)
> ax.yaxis.grid(False)
>
> Note that the grid command takes optional kwargs to control the major
> and minor tick gridding.
>
> JDH
> =20
Thanks for your help.
I=B4ve tried to work with axvline instead, but sadley avline can=B4t handle=
=20
vectors/arrays.
Volker
--=20
-----------------------
Volker Lorrmann
Universit=E4t W=FCrzburg
Experimentelle Physik 6
Am Hubland
97074 Wuerzburg
Germany
Tel: +49 931 888 5770
vol...@ph...
|