Hi Scilab members,
How could I change the x_ticks and y_ticks?
For example: In this following script, the x_ticks displays each 2 units on X
axis. I'd like each 0.5; and the y_ticks displays each 0.2 units on Y axis. I'd
like each 0.1. How could I change those parameters?
function f=myfunction(x)
f = sin(x)./x
endfunction
// Plot
scf(1);
clf(1);
xdata = linspace ( -12, 12, 100 );
ydata = myfunction ( xdata );
plot ( xdata , ydata );
a=gca(); // obtendo o manipulador dos eixos correntes
a.grid=[1 1];
xlabel("X","fontsize",4,"color","red");
ylabel("Y","fontsize",4,"color","red");Thank you in advance.
All best,Reinaldo.
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users