GRAPHMATRIX Procedure |
@GraphMatrix is a wrapper which uses SPGRAPH to organize a "matrix" of graphs. The user can control the maximum number of graphs which can be placed either horizontally or vertically; if needed, the procedure will create as many pages as necessary in order to display the graphs. For instance, if you have an \(8 \times 8\) matrix and set the row and column limits to 3, you'll get nine pages, since you need three blocks in each direction. Pages that aren't full will still be blocked out to match the other pages.
Note that this allows for only series per graph. There are other procedures (such as @MCGRAPHIRF) which are designed to do something similar, but allow for upper and lower bounds as well.
@GraphMatrix( options ) data
Parameters
|
data |
RECT[SERIES] (such as impulse responses) |
Options
ROWLIMIT=maximum number of rows on a page [rows in data]
COLLIMIT=maximum number of columns on a page [cols in data]
COMMONSCALE=[NONE]/ROWS/COLS/ALL
determines whether a common scale is used. For instance, COMMONSCALE=ROWS means that all graphs in a row will have the same scale, but different rows might not.
XLABELS=VECT[STRINGS] of labels for the columns [not used]
YLABELS=VECT[STRINGS] of labels for the rows [not used]
Copyright © 2025 Thomas A. Doan