Hi,
I want to extract data from a figure which I have created using "tightplot" ( https://uk.mathworks.com/matlabcentral/fileexchange/45380-tightplots ). The function generates different cooradinate systems using axes.
I now want to extract the data from the figures. I tried this ( https://uk.mathworks.com/matlabcentral/answers/177990-how-do-i-pull-data-from-a-figure-with-multiple-plots ) but it does not work.
Here is an example of the figure:
figure;ha=tight_subplot(2,2,0.08,[0.1000,0.0250],[0.08,0.025]);%plot1
axes(ha(1)); plot(1:10);%plot2
axes(ha(2)); plot(-1:-1:-10);%plot3
axes(ha(3)); plot(1:10);%plot4
axes(ha(4)); plot(-1:-1:-10);
Best Answer