|
From:
<fra...@un...> - 2006-10-09 08:33:01
|
Le Vendredi 6 Octobre 2006 19:59, John Hunter a =E9crit=A0:=0A=
> for line in ax.get_xticklines():=0A=
> =A0 =A0 line.set_linewidth(2.0)=0A=
=0A=
Thanks !=0A=
I have try this as in examples/axes_props.py but it doesn't work for me=0A=
=0A=
from pylab import *=0A=
=0A=
t =3D arange(0.0, 2.0, 0.01)=0A=
s =3D sin(2*pi*t)=0A=
ax =3D subplot(111)=0A=
ax.plot(t, s)=0A=
ax.grid(True)=0A=
=0A=
ticklines =3D ax.get_xticklines()=0A=
ticklines.extend( ax.get_yticklines() )=0A=
=0A=
for line in ticklines:=0A=
line.set_linewidth(4)=0A=
=0A=
show()=0A=
=0A=
any ideas ? I use matplotlib-0.87.5 and Python 2.4.3=0A=
Is there a way to do this in matplotlibrc like for tick length ?=0A=
=0A=
=0A=
--=20=0A=
Fran=E7ois BEAUBERT=0A=
ENSIAME/LME=0A=
Bureau A9=0A=
Universit=E9 de Valenciennes - Le Mont Houy - 59313 Valenciennes Cedex 9=0A=
T=E9l=E9phone: (0/33)3 27 51 19 72=0A=
T=E9l=E9copie: (0/33)3 27 51 19 61=0A=
Mel: fra...@un...=0A=
=0A=
=0A=
--=20=0A=
This message has been scanned for viruses and=0A=
dangerous content by MailScanner, and is=0A=
believed to be clean.=0A=
=0A=
|