tiledlayout doesn’t behave as it should
Followed the example of https://www.mathworks.com/help/matlab/ref/tiledlayout.html with ‘TileSpacing’, ‘none’option. The output is as image shown with huge gap in rows.
row = 8;
col = 5;
figure
tiledlayout(row,col,’TileSpacing’,’none’);
for ns = 1:nums
nexttile
imagesc(images(:,:,ns));colormap gray;axis off; axis square
endFollowed the example of https://www.mathworks.com/help/matlab/ref/tiledlayout.html with ‘TileSpacing’, ‘none’option. The output is as image shown with huge gap in rows.
row = 8;
col = 5;
figure
tiledlayout(row,col,’TileSpacing’,’none’);
for ns = 1:nums
nexttile
imagesc(images(:,:,ns));colormap gray;axis off; axis square
end Followed the example of https://www.mathworks.com/help/matlab/ref/tiledlayout.html with ‘TileSpacing’, ‘none’option. The output is as image shown with huge gap in rows.
row = 8;
col = 5;
figure
tiledlayout(row,col,’TileSpacing’,’none’);
for ns = 1:nums
nexttile
imagesc(images(:,:,ns));colormap gray;axis off; axis square
end tiledlayout, matlab MATLAB Answers — New Questions