Finish implementation and documentation of nograph option of shock_decomposition.m
parent
2d17ff43a4
commit
28d4ed1918
|
@ -7030,6 +7030,11 @@ the decomposition. Groups of shocks are defined in @xref{shock_groups} block.
|
||||||
@item colormap = @var{COLORMAP_NAME}
|
@item colormap = @var{COLORMAP_NAME}
|
||||||
@anchor{colormap}. Controls the colormap used for the shocks decomposition
|
@anchor{colormap}. Controls the colormap used for the shocks decomposition
|
||||||
graphs. See @code{colormap} in Matlab/Octave manual.
|
graphs. See @code{colormap} in Matlab/Octave manual.
|
||||||
|
|
||||||
|
@item nograph
|
||||||
|
@xref{nograph}. Suppresses the display and creation only within the @code{shock_decomposition}-command
|
||||||
|
but does not affect other commands.
|
||||||
|
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@vindex oo_.shock_decomposition
|
@vindex oo_.shock_decomposition
|
||||||
|
|
|
@ -134,6 +134,7 @@ options_.graphics.line_width = 1;
|
||||||
options_.graph_format = 'eps';
|
options_.graph_format = 'eps';
|
||||||
options_.nodisplay = 0;
|
options_.nodisplay = 0;
|
||||||
options_.nograph = 0;
|
options_.nograph = 0;
|
||||||
|
options_.no_graph.shock_decomposition = 0;
|
||||||
options_.XTick = [];
|
options_.XTick = [];
|
||||||
options_.XTickLabel = [];
|
options_.XTickLabel = [];
|
||||||
options_.console_mode = 0;
|
options_.console_mode = 0;
|
||||||
|
@ -790,9 +791,6 @@ options_.mcppath.mu0 = [];
|
||||||
%Figure options
|
%Figure options
|
||||||
options_.figures.textwidth=0.8;
|
options_.figures.textwidth=0.8;
|
||||||
|
|
||||||
% Shock decomposition options
|
|
||||||
options_.shock_decomp.nograph = 0;
|
|
||||||
|
|
||||||
% initialize persistent variables in priordens()
|
% initialize persistent variables in priordens()
|
||||||
priordens([],[],[],[],[],[],1);
|
priordens([],[],[],[],[],[],1);
|
||||||
% initialize persistent variables in dyn_first_order_solver()
|
% initialize persistent variables in dyn_first_order_solver()
|
||||||
|
|
|
@ -139,4 +139,6 @@ else
|
||||||
shock_names = M_.exo_names;
|
shock_names = M_.exo_names;
|
||||||
end
|
end
|
||||||
|
|
||||||
graph_decomp(z,shock_names,M_.endo_names,i_var,options_.initial_date,M_,options_)
|
if ~options_.no_graph.shock_decomposition
|
||||||
|
graph_decomp(z,shock_names,M_.endo_names,i_var,options_.initial_date,M_,options_)
|
||||||
|
end
|
|
@ -2816,7 +2816,7 @@ o_nograph : NOGRAPH
|
||||||
| GRAPH
|
| GRAPH
|
||||||
{ driver.option_num("nograph", "0"); }
|
{ driver.option_num("nograph", "0"); }
|
||||||
;
|
;
|
||||||
o_shock_decomposition_nograph : NOGRAPH { driver.option_num("shock_decomp.nograph", "1"); }
|
o_shock_decomposition_nograph : NOGRAPH { driver.option_num("no_graph.shock_decomposition", "1"); }
|
||||||
o_nodisplay : NODISPLAY { driver.option_num("nodisplay","1"); };
|
o_nodisplay : NODISPLAY { driver.option_num("nodisplay","1"); };
|
||||||
o_graph_format : GRAPH_FORMAT EQUAL allowed_graph_formats
|
o_graph_format : GRAPH_FORMAT EQUAL allowed_graph_formats
|
||||||
{ driver.process_graph_format_option(); }
|
{ driver.process_graph_format_option(); }
|
||||||
|
|
Loading…
Reference in New Issue