MATLAB: Extract the data from graph guiimagematrix in this figure i have the curve and i want to now x(piont) and y(piont) Best Answer l=findobj(gca,'Type','Line');x=l.XData;y=l.YData; Related SolutionsMATLAB: Data extract from graph. Providing that x is monotonic:h = findobj(gca, '-property', 'XData');hx = h.XData;hy = h.YData;[shx, idx] = sort(hx);shy = hy(hx);corresponding_y = interp1(shx, shy, given_x); MATLAB: 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. Related QuestionData extractStackedplot and linear fitExtract time series data from figureExtracting the dataExtract data from heatmap
Best Answer