[Scilab-users] Data from XCos plots?

Emmanuel Irog-irog emmanuel.irog-irog at lsu.edu.ph
Sun Jan 13 12:16:38 CET 2019


Is there a way to export Xcos data during simulation the "to workspace"
block only exports data after the simulation?

On Sun, 13 Jan 2019, 6:56 pm Nikolay Strelkov <n.strelkov at gmail.com wrote:

> 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
>>
> _______________________________________________
> 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/834870f5/attachment.htm>


More information about the users mailing list