From 3ea93dd4b583817ce74bd13255a5a8fe420ae56a Mon Sep 17 00:00:00 2001 From: assia Date: Mon, 3 Mar 2008 11:28:13 +0000 Subject: [PATCH] header updated git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1737 ac1d8469-bf42-47a9-8791-bf33cf982152 --- matlab/my_subplot.m | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/matlab/my_subplot.m b/matlab/my_subplot.m index 1b7e0b4cf..41963ebd6 100644 --- a/matlab/my_subplot.m +++ b/matlab/my_subplot.m @@ -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));