flipping x-y axes?

Hi,

What is the method used to flip axes in X and/or Y direction in the matplotlib API? that is, to plot something with values from positive to negative instead of the contrary?
Maybe it's me being dense :), but I can't find how to do it.

Thanks!
m.

···

--
Massimo Sandal
University of Bologna
Department of Biochemistry "G.Moruzzi"

snail mail:
Via Irnerio 48, 40126 Bologna, Italy

email:
massimo.sandal@...898...

tel: +39-051-2094388
fax: +39-051-2094387

just set the limits of your axes with xlim/ylim or set_ylim/set_xlim
For example:

y = N.arange(10)
plot(y)
ylim(y[-1],y[0])

···

On Tuesday 25 July 2006 12:30, massimo sandal wrote:

Hi,

What is the method used to flip axes in X and/or Y direction in the
matplotlib API? that is, to plot something with values from positive to
negative instead of the contrary?