How to export data used to make MATLAB figure?

12 visualizaciones (últimos 30 días)
Sophie Astrof
Sophie Astrof el 18 de En. de 2023
Respondida: prasanth s el 19 de En. de 2023
Hello, I have a matlab figre with tabs. How do I extract data from each tab and import into excel? Thank you.
  2 comentarios
dpb
dpb el 18 de En. de 2023
Why don't you save the data when creating the figure instead?
Sophie Astrof
Sophie Astrof el 18 de En. de 2023
I am running a application. It analyzes an image and then plots the data, but I don't know where the data that is being ploted stored.

Iniciar sesión para comentar.

Respuestas (1)

prasanth s
prasanth s el 19 de En. de 2023
fig=openfig('SophiesFigure_nanodomains.fig');
data1=fig.Parent.Children(2).CurrentAxes.Children.YData %histogram
xdata=ww.CurrentObject.Parent.Children(1).Children(2).Children(2).XData; %scatter
ydata=ww.CurrentObject.Parent.Children(1).Children(2).Children(2).YData; %scatter

Categorías

Más información sobre Bar Plots en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by