Controlling gap and retaining actual image size in subplot

3 ビュー (過去 30 日間)
Nathan
Nathan 2013 年 12 月 11 日
コメント済み: per isakson 2013 年 12 月 11 日
In creating my figure, I want to be able to retain the actual image size and get rid of the gap between the images. At the moment, the images are plotted correctly but they are smaller than they should be and there is a big gap between them.
figHandle = figure;
set(figHandle,'color','w');
for i = 1:(yHigh*xWide)
if trackFaces(i) ~= 0
face = imgTarget;
subplot(yHigh,xWide,i); subimage(face); axis off;
end
end
I have searched extensively for a solution, even used subtightplot, etc but nothing works as I want it to. Any help is appreciated.
  1 件のコメント
per isakson
per isakson 2013 年 12 月 11 日
Either you find a contribution in the File Exchange, which is good enough, or you have to implement your own.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSubplots についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by