Object Reference : Object View and Procedure Reference : Model
Make graph object showing model series.
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 model variables.
All endogenous model variables.
All exogenous model variables.
All add factor variables in the model.
All currently overridden exogenous variables
All currently overridden endogenous variables
Include actuals.
Include comparison scenarios.
Include deviations.
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).
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.
See “Displaying Data” for details. See “Models” for a general discussion of models.
See Model::makegroup.