Hallo,
how can I plot different figures in the same figure window? I use a for loop to plot because I am working with cell arrays: example:
for i_z = 26:34
figurehold ona = horzcat (dummy_A{i_z}(:,2), dummy_A{i_z}(:,5));b = horzcat (dummy_B{i_z}(:,2), dummy_B{i_z}(:,5));plot (a(:,1), a(:,2), 'ob', 'MarkerSize', 7, 'Linewidth', 2)plot (b(:,1), b(:,2), 'xg', 'MarkerSize', 7, 'Linewidth', 2)
end
This plots a series of windows (9) and for a window i get the plots of a and b for i_z equal to one value.
I'd like to have those 9 windows in one plot window 3×3 as subplots.
Thanks.
Sami
Best Answer