Home > matlab > dyn_figure.m

dyn_figure

PURPOSE ^

function h=dyn_figure(DynareOptions,varargin)

SYNOPSIS ^

function h=dyn_figure(DynareOptions,varargin)

DESCRIPTION ^

function h=dyn_figure(DynareOptions,varargin)
 initializes figures for DYNARE

 INPUTS
    DynareOptions: dynare options
    varargin: the same list of possible inputs of the MATLAB function figure

 OUTPUTS
    h     : figure handle

 SPECIAL REQUIREMENTS
    none

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function h=dyn_figure(DynareOptions,varargin)
0002 %function h=dyn_figure(DynareOptions,varargin)
0003 % initializes figures for DYNARE
0004 %
0005 % INPUTS
0006 %    DynareOptions: dynare options
0007 %    varargin: the same list of possible inputs of the MATLAB function figure
0008 %
0009 % OUTPUTS
0010 %    h     : figure handle
0011 %
0012 % SPECIAL REQUIREMENTS
0013 %    none
0014 
0015 % Copyright (C) 2012 Dynare Team
0016 %
0017 % This file is part of Dynare.
0018 %
0019 % Dynare is free software: you can redistribute it and/or modify
0020 % it under the terms of the GNU General Public License as published by
0021 % the Free Software Foundation, either version 3 of the License, or
0022 % (at your option) any later version.
0023 %
0024 % Dynare is distributed in the hope that it will be useful,
0025 % but WITHOUT ANY WARRANTY; without even the implied warranty of
0026 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0027 % GNU General Public License for more details.
0028 %
0029 % You should have received a copy of the GNU General Public License
0030 % along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
0031 
0032 if DynareOptions.nodisplay,
0033     h = figure(varargin{:},'visible','off');
0034 else
0035     h = figure(varargin{:});
0036 end

Generated on Mon 21-May-2012 02:42:43 by m2html © 2005