Re: [Matplotlib-users] setting axis limits

2009-07-15 Thread Chloe Lewis
Experimenting in ipython (run ipython --pylab) is excellent for this; not only do you see results promptly, but help(pylab) lists, for instance, the functions xlim and ylim, with which you can get and set any of the four axis limits. &C On Jul 15, 2009, at 3:54 PM, Dr. Phillip M. Feldman w

Re: [Matplotlib-users] setting axis limits

2009-07-15 Thread Pierre GM
On Jul 15, 2009, at 6:54 PM, Dr. Phillip M. Feldman wrote: > leaving the x-axis alone, or vice versa, or set a lower limit for > the y-axis > but leave the upper limit alone. Is there a clean way of doing > this? (I > have not been able to find anything relevant in the Matplotlib Users > Gu

[Matplotlib-users] setting axis limits

2009-07-15 Thread Dr. Phillip M. Feldman
One can set axis limits via a command like the following: pyplot.axis([0 10 0 1]) But, there are situations where I'd like to set limits only for the y-axis, leaving the x-axis alone, or vice versa, or set a lower limit for the y-axis but leave the upper limit alone. Is there a clean way of doin