[Scilab-users] plot with redimensiond X axis, how?

Samuel Gougeon sgougeon at free.fr
Tue Feb 14 14:07:03 CET 2017


Le 14/02/2017 à 13:05, Erhy a écrit :
> e.g.
> course = [ 1 0.5 2 3 0.75 0.3 0.4 0.9 0.4 0.5 ]';
> y = 2 : size(course,'r') - 1;
> // find indices of minimums in course
> Ixs = 1 + find( course( y - 1 ) > course( y ) & course( y + 1 ) > course( y
> ) );
>
> I want to plot course(Ixs) with X axis redimensioned to 1 : size(course,'r')

"X axis redimensioned to 1": Do you mean: ranging from 0 to 1, or plotting a single component (=> which kind of plot? With a marker?), or..?





More information about the users mailing list