Bringing plots into a single figure
古いコメントを表示
Hi All;
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.
1 件のコメント
priyanka
2013 年 7 月 28 日
yes u can.it can b done as follows. plot(ur variable to b plotted) subplot(3,2,1); imshow(variable); similarly u can do it for all d plots by giving subplot(3,2,2); subplot(3,2,3); subplot(3,2,4); subplot(3,2,5) subplot(3,2,6);
try this
採用された回答
その他の回答 (3 件)
Jan
2013 年 7 月 27 日
0 投票
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?
per isakson
2013 年 7 月 28 日
編集済み: per isakson
2013 年 7 月 29 日
0 投票
Many contribution to in the File Exchange address your problem:
- there are dozens of replacements for subplot, however, I failed to find a good search string.
- MontageFigures Creates Montage (subplots) of Specified Figures and their subplots.
- Import Fig File to Axes
- figs2subplots Combine axes in many figures into subplots in one figure.
- PlotManager The PlotManager is designed for anyone who is regularly producing various plots that should be in subplots during development/experimenting for good overview and later be exported as single figures (e.g. in high quality).
Warning: This is the result of a quick search and some copy&paste.
Farhad Sedaghati
2015 年 6 月 26 日
0 投票
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)
カテゴリ
ヘルプ センター および File Exchange で Subplots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!