I need to get the data from this figure

3 views (last 30 days)
Hi there
like said in the title, i want to extract the data from this figure plz

Accepted Answer

Star Strider
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.

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!