## Re: [Matplotlib-users] flipping x-y axes?

 Re: [Matplotlib-users] flipping x-y axes? From: PGM - 2006-07-25 16:51:20 ```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? 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]) ```

 [Matplotlib-users] flipping x-y axes? From: massimo sandal - 2006-07-25 16:30:22 Attachments: massimo.sandal.vcf ```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@... tel: +39-051-2094388 fax: +39-051-2094387 ```
 Re: [Matplotlib-users] flipping x-y axes? From: PGM - 2006-07-25 16:51:20 ```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? 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]) ```