[Scilab-users] plot with redimensiond X axis, how?
Samuel Gougeon
sgougeon at free.fr
Tue Feb 14 16:27:48 CET 2017
Le 14/02/2017 à 16:16, Samuel Gougeon a écrit :
>
> I caught it: you meant "X axis redimensioned to (1:size(course,'r')) !
> Why not simply
> plot(course)
> ??
> It ranges from 1 to 10.
Please ignore this. You wish plot(course(Ixs)) not plot(course).
Le 14/02/2017 à 16:06, Erhy a écrit :
> But I miss the value with index 9 in the plot modified by Christophe's method.
And with
clf
plot(Ixs,course(Ixs))
ax = gca();
ax.data_bounds(1:2) = [1 length(course)];
?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170214/e58abe12/attachment.htm>
More information about the users
mailing list