Extract xdata and ydata from hggroup
5 views (last 30 days)
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:
Error using hg.hggroup/get
The name 'xdata' is not an accessible property for an instance of class
I saw this relevant answer but don't know how to apply it to my problem.
How can I extract x and y values plotted in a bode plot?