I need to get the data from this figure
1 view (last 30 days)
Show older comments
Meddour Aissam riad
on 23 Apr 2020
Answered: Star Strider
on 23 Apr 2020
Hi there
like said in the title, i want to extract the data from this figure plz
0 Comments
Accepted Answer
Star Strider
on 23 Apr 2020
The plot appears to have only Bar objects.
Try this:
F = openfig('untitled.fig');
Ax = gca;
hBar = findobj(Ax.Children, 'Type','Bar');
X = hBar.XData;
Y = hBar.YData;
Finding that took a bit of exploring.
0 Comments
More Answers (0)
See Also
Categories
Find more on Data Exploration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!