Le 29/06/2016 15:48, adhitya a écrit :
Hi,
Consider the following example:
x=[0:0.5:2*%pi]';
plot(sin(x))
The above plots the sine graph for each value in x with a corresponding
value of y.
My question is: Is it possible to get the main data points of the graph,
before or just after it has been plotted?
In other words, I would like to get the coordinates of each point that has
to be plotted.
We have struggling with this for some time now. I kindly request someone on
this forum to reply to this thread.
The default plotted x are: x = 1:nb_points
Just after plotting a single curve, you can get both its x and y with:
c = gce();
xy = c.children.data
// xy = gce().children.data // with Scilab 6
_______________________________________________
dev mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/dev