I need to get the data from this figure

 Respuesta aceptada

Star Strider
Star Strider el 23 de Abr. de 2020
The plot appears to have only Bar objects.
Try this:
F = openfig('untitled.fig');
Ax = gca;
hBar = findobj(Ax.Children, 'Type','Bar');
X = hBar.XData;
Y = hBar.YData;
Finding that took a bit of exploring.

Más respuestas (0)

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 23 de Abr. de 2020

Respondida:

el 23 de Abr. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by