|
I have a set of plots saved in MATLAB .fig format. Each one
has several subplots. I was wondering if there was a
functional form (i.e. non-GUI) of extracting data such as
the first data point in the graph. I noticed that in the
GUI, this information is available, so it's gotta be there
somewhere!
I am familiar with the following. For a given graph:
h = plot(1:10);
yData = get(h,'YData');
since YData becomes a property of h. For whatever reason, in
my subplots, YData is not a property. So when I have
h = subplot(3,3,1);
yData = get(h,'YData');
an error obviously occurs. I looked through the properties
of gca, and there didn't seem to be anything akin to YData
for subplots.
Any ideas on how to extract a data point's info from the
subplot? Oh, and I should mention that it could be a case of
multiple pieces of data per subplot. But being able to
extract any point should be possible, I would think.
Thanks in adv.
|