I need to get the data from this figure

Hi there
like said in the title, i want to extract the data from this figure plz

 Accepted Answer

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 Creating, Deleting, and Querying Graphics Objects 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!