I have 6 matlab plots which I myself didn't plot. Can I bring this separate plots into one plot of 3x2 subplots.
Any help is highly appreciated.
No products are associated with this question.
Read in all of your image files with imread(). Then use subplot() and image() or imshow() to display.
figure; subplot(2,3,1); imshow(image1); title('Image #1', 'FontSize', 24); subplot(2,3,2); imshow(image2); title('Image #2', 'FontSize', 24);
subplot(2,3,6); imshow(image6); title('Image #6', 'FontSize', 24); % Enlarge figure to full screen. set(gcf, 'units','normalized','outerposition',[0 0 1 1]);
It depends on what "I have plots" exactly mean. Are they printed on paper, saved as image files or as FIG files? Are they contained in an open figure created by another Matlab program?
Many contribution to in the File Exchange address your problem:
Warning: This is the result of a quick search and some copy&paste.
This following function helps you to put several fig files next to each other as subplots: http://www.mathworks.com/matlabcentral/fileexchange/51236-subplot It is important to note that all the saved fig file should be 2D and single plot (No subplots)