Hello community, I have currently from my code 4 printed figures: figure(101); figure(102), figure(103) & figure(104) (these also have subplots (2×2) of their own).
I would like to like to transfer them to be in one figure all together (a figure with 2×2 subplots), subplot(2,2,1) being figure(101), subplot(2,2,2) being figure(102), etc…
Any idea how I can do this in the best way possible?
%Example for the 4 figures:
colors = ['b','r','g','k'];for j=1:4figure(100+j); for i = 1:4 subplot(2,2,i); hold on; title(strcat('Figure: ',num2str(j),'-',num2str(i))) plot((1:10).^i,'Color',colors(j)); endend
Best Answer