data from figures without data
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
DARLINGTON ETAJE
il 3 Set 2019
Risposto: Subhadeep Koley
il 6 Set 2019
Hello family,
how do I extract experimental values or data from a figure using matlab
1 Commento
Adam Danz
il 3 Set 2019
This is a common question with lots of existing answers in this forum.
Check out this link for advice on how to get help in this forum
Risposta accettata
Subhadeep Koley
il 6 Set 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;
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!