Hi folks,
> this might be a trivial question, but I could not figure
> it out from the documentation or the examples.
> I have a plot where the x-scale ranges from 0 to 20. When
> I plot a line it automatically starts at x=0. I would like
> the line to start at x=1. Is there a way to how I can do
> that?
If I understand your question correctly, you want to set the xlim to
range from 1-20 even if your data range from 0-20
>>> plot(x,y)
>>> xlim(1,20)
http://matplotlib.sf.net/matplotlib.pylab.html#-xlim
http://matplotlib.sf.net/matplotlib.pylab.html#-axis
JDH