Re: [Matplotlib-users] Problem when Rotating xlabels with subplots

2007-02-28 Thread Darren Dale
On Wednesday 28 February 2007 02:59:08 pm Suresh Pillai wrote: > Ooop, sorry I corrupted the pylab.xticks() line in the second part when > editing. Should read: > > pylab.subplot(211) > pylab.plot(historicalScore05, label='Score 2005') > pylab.plot(historialNum05, label='Num 2006') > pylab.setp(py

Re: [Matplotlib-users] Problem when Rotating xlabels with subplots

2007-02-28 Thread Suresh Pillai
import pylab data1=[1,2,3,4,5,6,7] data2=[8,9,10,11,12,13,14] dates=['01','02','03','04','05','06','07'] pylab.subplot(211) pylab.plot(data1, label='Score 2005') pylab.plot(data2, label='Num 2006') pylab.setp(pylab.gca(), xticklabels=[]) pylab.ylabel('Score 2') pylab.title('Historical Statistics'

Re: [Matplotlib-users] Problem when Rotating xlabels with subplots

2007-02-28 Thread Suresh Pillai
Ooop, sorry I corrupted the pylab.xticks() line in the second part when editing. Should read: pylab.subplot(211) pylab.plot(historicalScore05, label='Score 2005') pylab.plot(historialNum05, label='Num 2006') pylab.setp(pylab.gca(), xticklabels=[]) pylab.ylabel('Score 2') pylab.title('Historical

[Matplotlib-users] Problem when Rotating xlabels with subplots

2007-02-28 Thread Suresh Pillai
I posed the question below back in Nov, but never received a response. Thought I'd try again, as I really do need this kind of plot, and I don't want to leave the world of matplotlib, which has improved my efficiency greatly in plotting. Thanks, Suresh -- Forwarded message --

[Matplotlib-users] Problem when Rotating xlabels with subplots

2006-11-06 Thread Suresh Pillai
I have a figure with two subplots as below. However, everything breaks when I try to rotate the x-labels as indicated in the two commented out lines. I obtain a small empty plot embedded in a large empty plot with no x-labels and no legend either. I got this code from the tutorial; it works