John Hunter wrote: >>>>>> "Volker" == Volker Lorrmann <[EMAIL PROTECTED]> writes: >>>>>> > > Volker> Hi guys, how can i tell matplotlib to only show the xgrid > Volker> (grid without y -lines ;) ) I´ve searched and googled a > Volker> lot. But i can´t 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 > Thanks for your help. I´ve tried to work with axvline instead, but sadley avline can´t handle vectors/arrays.
Volker -- ----------------------- Volker Lorrmann Universität Würzburg Experimentelle Physik 6 Am Hubland 97074 Wuerzburg Germany Tel: +49 931 888 5770 [EMAIL PROTECTED] ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users