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 CenterFile Exchange에서 Subplots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by