Extract xdata and ydata from hggroup
Ältere Kommentare anzeigen
I would like to extract the xdata and ydata values of "lines" in a bode plot. (Someone else generated and saved the bode plot as a fig file which I use to regenerate the figure; I don't have access to the underlying data or to outputs of the bode.m command). Several "lines" are plotted in this bode plot. However they aren't actually lines; when I click on one and do the following, I get an error:
get(gco, 'xdata')
Error using hg.hggroup/get
The name 'xdata' is not an accessible property for an instance of class
'hggroup'.
How can I extract x and y values plotted in a bode plot?
1 Kommentar
Akzeptierte Antwort
Weitere Antworten (1)
Kategorien
Mehr zu Graphics Object Properties finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!