[Scilab-users] Data from XCos plots?

Nikolay Strelkov n.strelkov at gmail.com
Sun Jan 13 11:55:28 CET 2019


Dear Pndsc!

It is possible. If you have figure with axis from Xcos model then you can
get its data:

    a = gca();
    x = a.children.data(:,1);
    y = a.children.data(:,2);

and then manipulate them as you need.

--

*With best regards,Ph.D., *



*associate professor at MPEI
<http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of
Mathieu functions toolbox for Scilab
<http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.*


вс, 13 янв. 2019 г. в 12:45, Pndsc <chrisp at poundsc.org>:

> I was wondering if theres a way to export data from Xcos plots that show
> the
> result of simulations. Graphs are OK but I need to interrogate the raw
> values.
>
> Is there a way to export to CSV or something? I'm assuming that its
> something simple that I've missed.
>
>
>
> --
> Sent from:
> http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20190113/8631a99e/attachment.htm>


More information about the users mailing list