header updated

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1737 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
assia 2008-03-03 11:28:13 +00:00
parent 85b3832ef5
commit 3ea93dd4b5
1 changed files with 17 additions and 5 deletions

View File

@ -1,13 +1,25 @@
function my_subplot(i,imax,irow,icol,fig_title)
% function my_subplot(i,imax,irow,icol,fig_title)
% spreads subplots on several figures according to a maximum number of
% subplots per figure
%
% INPUTS
% i: subplot number
% imax: total number of subplots
% irow: maximum number of rows in a figure
% icol: maximum number of columns in a figure
% fig_title: title to be repeated on each figure
% i: subplot number
% imax: total number of subplots
% irow: maximum number of rows in a figure
% icol: maximum number of columns in a figure
% fig_title: title to be repeated on each figure
%
% OUTPUT
% none
%
% SPECIAL REQUIREMENTS
% none
%
% part of DYNARE, copyright Dynare Team (2003-2008)
% Gnu Public License.
nfig_max = irow*icol;
if imax < nfig_max
icol = ceil(sqrt(imax));