From: John [H2O] <was...@gm...> - 2009-07-20 15:48:16
|
I am trying simply to shrink the font size and rotate xaxis labels: fig1 = plt.figure() ax1 = fig1.add_subplot(211) ax2 = fig1.add_subplot(212) ax1.plot_date(x,y,'r') ax1.set_xticklabels(plt.gca().get_xmajorticklabels(), size=6,rotation=30) ax2.plot_date(o_X['time'],o_X['CO'],'y') ax2.set_xticklabels(plt.gca().get_xmajorticklabels(), size=6,rotation=30) I end up with labels as: ("Text(0,0"Text(0,0,"")") ???? -- View this message in context: http://www.nabble.com/rotating-labels%2C-what-is-wrong-%21-tp24572302p24572302.html Sent from the matplotlib - users mailing list archive at Nabble.com. |