Object Reference : Object View and Procedure Reference : Model
  
 
makegraph
Make graph object showing model series.
Syntax
model_name.makegraph(options) graph_name model_vars
where graph_name is the name of the resulting graph object, and models_vars are the names of the series. The list of model_vars may include the following special keywords:
 
@all
All model variables.
@endog
All endogenous model variables.
@exog
All exogenous model variables.
@addfactor
All add factor variables in the model.
@overides
All currently overridden exogenous variables
@excludes
All currently overridden endogenous variables
Options
 
a
Include actuals.
c
Include comparison scenarios.
d
Include deviations.
n
Do not include active scenario (by default the active scenario is included).
t= trans_type (default=level)
Transformation type: “level” (display levels in graph, “pch” (display percent change in graph), “pcha” (display percent change - annual rates - in graph), “pchy” (display 1-year percent change in graph), “dif” (display 1-period differences in graph), “dify” (display 1-year differences in graph).
s=sol_type (default=“d”)
Solution type: “d” (deterministic), “m” (mean of stochastic), “s” (mean and 2 std. dev. of stochastic), “b” (mean and confidence bounds of stochastic).
g=grouping (default=“v”)
Grouping setting for graphs: “v” (group series in graph by model variable), “s” (group series in graph by scenario), “u” (ungrouped - each series in its own graph).
Examples
mod1.makegraph(a) gr1 y1 y2 y3
creates a graph containing the model series Y1, Y2, and Y3 in the active scenario and the actual Y1, Y2, and Y3.
mod1.makegraph(a,t=pchy) gr1 y1 y2 y3
plots the same graph, but with data displayed as 1-year percent changes.
Cross-references
See “Displaying Data” for details. See “Models” for a general discussion of models.
See Model::makegroup.