[Scilab-users] Plotting a graph ...

Quentin Mazué mazue.quentin at gmail.com
Tue Sep 30 08:46:44 CEST 2014


Hi,

you can use the following example to change the y axis values : 

scf();
X = linspace ( -5 , 5 , 100 );
Y = 3*cosh(X/3);
plot(X,Y);

//Change the range of the Y axis
a=get("current_axes");//get the handle of the newly created axes
a.data_bounds=[-5,-1;5,9];//New bounds



--
View this message in context: http://mailinglists.scilab.org/Scilab-users-Plotting-a-graph-tp4031240p4031244.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list