Re: [Matplotlib-users] custom axis range

2011-10-14 Thread Benjamin Root
On Friday, October 14, 2011, jopeto wrote: > > Hello, > > I have a question regarding setting a custom axis range. Here's a basic > example: > > import matplotlib.pyplot as plt > > fig = plt.figure() > ax = fig.add_subplot(1,1,1) > ax.plot([1,2,3]) > ax.axis([xmin,xmax,ymin,ymax]) > plt.show() > >

[Matplotlib-users] custom axis range

2011-10-14 Thread jopeto
Hello, I have a question regarding setting a custom axis range. Here's a basic example: import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(1,1,1) ax.plot([1,2,3]) ax.axis([xmin,xmax,ymin,ymax]) plt.show() Now the question that I'm having is the following. The way I underst