--- a +++ b/combinedDeepLearningActiveContour/functions/subplottight.m @@ -0,0 +1,6 @@ +function h = subplottight(n,m,i) + [c,r] = ind2sub([m n], i); + ax = subplot('Position', [(c-1)/m, 1-(r)/n, 1/m, 1/n]); + if(nargout > 0) + h = ax; + end \ No newline at end of file