v4 parser.src: made rplottype an option

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@724 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
michel 2006-04-29 14:29:41 +00:00
parent 2ae6df4b22
commit eca3df3338
4 changed files with 14 additions and 15 deletions

Binary file not shown.

View File

@ -3,18 +3,19 @@ function global_initialization()
ct_=0;
endval_=0;
rplottype_=0;
options_.smpl=0;
options_.rplottype = 0;
options_.smpl = 0;
options_.dynatol = 0.00001;
options_.maxit_=10;
options_.slowc=1;
options_.timing=0;
options_.gstep=1e-2;
options_.debug=0
options_.initval_file=0;
options_.maxit_ = 10;
options_.slowc = 1;
options_.timing = 0;
options_.gstep = 1e-2;
options_.debug = 0
options_.initval_file = 0;
oo_.exo_simul = [];
oo_.y_simul = [];
oo_.dr = struct([]);
oo_.exo_det_steady_state = [];
oo_.exo_det_steady_state = [];
oo_.exo_det_simul = [];

View File

@ -1,7 +1,7 @@
% Copyright (C) 2001 Michel Juillard
%
function rplot(s1,rplottype)
% RPLOT : RPLOT ( ['var1'; 'var2'; ...] , rplottype )
function rplot(s1)
% RPLOT : RPLOT ( ['var1'; 'var2'; ...] )
% This optionnal command creates the plot of the variable
% trajectory. By default, the entire simulation period is
% ploted. The instruction DSAMPLE permits to reduce the
@ -9,9 +9,7 @@ function rplot(s1,rplottype)
global M_ oo_ options_
if nargin == 1
rplottype = 0;
end
rplottype = options_.rplottype;
col = ['y','c','r','g','b','w','m'] ;
ix = [1 - M_.maximum_lag:size(oo_.y_simul,2)-M_.maximum_lag]' ;

View File

@ -73,7 +73,7 @@ void ComputingTasks::runEstimation(string tmp1)
void ComputingTasks::runRplot(string tmp1)
{
*output << tmp1;
*output << "rplot(var_list_,rplottype_);\n";
*output << "rplot(var_list_);\n";
}
//------------------------------------------------------------------------------
void ComputingTasks::setEstimationInit(void)