Re: [Scilab-users] Data from XCos plots?

2019-01-13 Thread Federico Miyara
Probably it is a = gca(); x = a.children.children.data(:,1); y = a.children.children.data(:,2); since a.children doesn't have the "data" proerty, but its child is of type "Polyline" which does have the "data" property Federico Miyara On 13/01/2019 07:55, Nikolay Strelkov wrote: a = gca()

Re: [Scilab-users] Data from XCos plots?

2019-01-13 Thread Emmanuel Irog-irog
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 Dear Pndsc! > > It is possible. If you have figure with axis from Xcos model then you can > get its data: > > a = gca(); > x

Re: [Scilab-users] Data from XCos plots?

2019-01-13 Thread Nikolay Strelkov
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

[Scilab-users] Data from XCos plots?

2019-01-13 Thread Pndsc
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.s