matlab 如何同时显示 多幅 fig 图像
已经生成了4副 fig图像。
figure1.fig figure2.fig figure3.fig figure4.fig
能否直接像subplot 似的,让四副图同时显示。
但是图像不能重画,只能用已有的fig图像。
我想要的就是这个效果,但是要语句操作,自动达成效果。
追答把图片存成jpg格式(因为imread不能读fig格式),然后
X1=imread('x1.jpg');
X2=imread('x2.jpg');
X3=imread('x3.jpg');
X4=imread('x4.jpg');
subplot(2,2,1),subimage(X1);
subplot(2,2,2),subimage(X2);
subplot(2,2,3),subimage(X3);
subplot(2,2,4),subimage(X4);
不改变格式,希望仍然是fig格式,这样可以根据显示的情况进行修改
追答The FIG-file is a binary file and you cannot modify it except by changing the layout in GUIDE. FIG-files are specializations of MAT-files. --matlab help
能说的详细一点吗