a b/combinedDeepLearningActiveContour/functions/subplottight.m
1
function h = subplottight(n,m,i)
2
    [c,r] = ind2sub([m n], i);
3
    ax = subplot('Position', [(c-1)/m, 1-(r)/n, 1/m, 1/n]);
4
    if(nargout > 0)
5
      h = ax;
6
    end