[scilab-Users] reversed axis

Samuel Gougeon Samuel.Gougeon at univ-lemans.fr
Tue Oct 26 18:24:16 CEST 2010


Hello,

grivet <grivet at cnrs-orleans.fr> a écrit :

> Hello,
> I wish to plot a function y(x), given as two vectors x(i) and y(i),  
> but with reversed x graduations, i.e. largest x value on the left  
> and lowest on the right.

After the plot, just do:
ca = gca(); ca.axes_reverse(1)="on";

> Further, both xmin and xmax can be either positive or negative.

No problem.

> "drawaxis" will not do it.
It is useless here.

> I'd be grateful to anybody who shows me how it can be done.

You are welcome

Samuel





More information about the users mailing list