data from figures without data

1 visualización (últimos 30 días)
DARLINGTON ETAJE
DARLINGTON ETAJE el 3 de Sept. de 2019
Respondida: Subhadeep Koley el 6 de Sept. de 2019
Hello family,
how do I extract experimental values or data from a figure using matlab

Respuesta aceptada

Subhadeep Koley
Subhadeep Koley el 6 de Sept. de 2019
The following code might help.
% Open your figure
fig = openfig('example.fig');
% Find Xdata and YData objects
dataObjs = findobj(fig,'-property','YData');
y1 = dataObjs(1).YData;
dataObjs = findobj(fig,'-property','XData');
x1 = dataObjs(1).XData;

Más respuestas (0)

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by