MATLAB: Data from figures without data dataexperimentextractfigure Hello family, how do I extract experimental values or data from a figure using matlab Best Answer The following code might help.% Open your figurefig = openfig('example.fig');% Find Xdata and YData objectsdataObjs = findobj(fig,'-property','YData');y1 = dataObjs(1).YData;dataObjs = findobj(fig,'-property','XData');x1 = dataObjs(1).XData; Related SolutionsMATLAB: How to extract x, y data values from matlab figure Open the figure:h = findobj(gca,'Type','line')x=get(h,'Xdata') ;y=get(h,'Ydata') ;(x,y) is your required data. MATLAB: I have a qeustion There is no routine with that name. There is imresize() Related QuestionRetrieving data from many plots
Best Answer