在Matlab中显示多个图像(在一帧中)

问题描述 投票:0回答:1

我将在Matlab中以特定格式显示多个图像,即显示矩形框以显示具有相同大小并带有标题(每列下方)的图形。与下图类似。enter image description here

[我在Mathworks的文件交换中找到了solution,但无法产生所需的输出。

在Matlab中是否有任何特定的功能?

matlab matlab-figure
1个回答
0
投票

我认为以下程序代码可以为您提供帮助:

[X1,map1]=imread('forest.tif');
[X2,map2]=imread('trees.tif');
subplot(1,2,1), imshow(X1,map1)
subplot(1,2,2), imshow(X2,map2)
© www.soinside.com 2019 - 2024. All rights reserved.