|
From: Jouni K. S. <jk...@ik...> - 2008-05-22 15:08:03
|
Chiara Caronna <chi...@ho...> writes:
> ax1=p.subplot(212)
> ax1.set_xlabel('t [sec]')
> ax1.set_ylabel('g^2(q,t)')
> ax1.set_yticklabels(color='r')
You could do
for label in ax1.get_yticklabels(): label.set_color('r')
or use the setp shortcut:
p.setp(ax1.get_yticklabels(), color='r')
--
Jouni K. Seppänen
http://www.iki.fi/jks
|