Documentation of sp_old


Global Index (short | long) | Local contents | Local Index (short | long)


Function Synopsis

sp(ncol, num);

Help text


  h = sp(pos);


Cross-Reference Information

This function calls

Listing of function sp_old

function sp(ncol, num);

global HSZ VSZ MIDV MIDH TMARG

pos = [0.5 - (ncol/2)*HSZ - (ncol-1)*MIDH/2 + ...
       mod(num-1,ncol)*(HSZ+MIDH) ... 
       1 - TMARG - (ceil(num/ncol)-1)*MIDV - ceil(num/ncol)*VSZ ...
       HSZ VSZ]; 

subplot('position', pos);
set(gca, 'box', 'on');