<p dir="ltr">Thank you for your reply. </p>
<p dir="ltr">Is it possible to get it before the plot starts? We're trying to reproduce the plot in real time. </p>
<p dir="ltr">For example, if I change a plot using TKSCALE in Xcos, I would just like to get the coordinates in real time. </p>
<p dir="ltr">Thanks, </p>
<p dir="ltr">Adhitya</p>
<div class="gmail_quote">On 29-Jun-2016 7:31 pm, "Samuel GOUGEON [via Scilab / Xcos - Mailing Lists Archives]" <<a href="/user/SendEmail.jtp?type=node&node=4034308&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:<br type="attribution"><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

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

        
        
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://mailinglists.scilab.org/Data-Points-of-Plot-tp4034306p4034307.html" target="_blank" rel="nofollow" link="external">http://mailinglists.scilab.org/Data-Points-of-Plot-tp4034306p4034307.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from Data Points of Plot, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
                <a href="http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></blockquote></div>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://mailinglists.scilab.org/Data-Points-of-Plot-tp4034306p4034308.html">Re: Data Points of Plot</a><br/>
Sent from the <a href="http://mailinglists.scilab.org/Scilab-developers-Mailing-Lists-Archives-f2574944.html">Scilab developers - Mailing Lists Archives mailing list archive</a> at Nabble.com.<br/>