Setting only the X-axis scale?

Hi,

Is it possible in python/matplotlib to only define the x-axis range and have the y-axis autoscale?

I've read the docs about axis() but this seems to set the bounds on both the x- and y-axes.

Thanks.

Kelvin Chu

···

--
Kelvin Chu, Physics Department, Cook Building
82 University Place, University of Vermont, Burlington, VT 05405-0125
http://www.uvm.edu/~kchu/; (802) 656-0064; Fax: (802) 656-0817

Kelvin,

If you are using the command line interface, try using 'xlim(a, b)' to
set the limits.

-- Paul

···

On 10/6/06, Kelvin Chu <kelvin.chu@...1289...> wrote:

Hi,

Is it possible in python/matplotlib to only define the x-axis range
and have the y-axis autoscale?

I've read the docs about axis() but this seems to set the bounds on
both the x- and y-axes.

Thanks.

Kelvin Chu

--
Kelvin Chu, Physics Department, Cook Building
82 University Place, University of Vermont, Burlington, VT 05405-0125
http://www.uvm.edu/~kchu/; (802) 656-0064; Fax: (802) 656-0817

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options