align |

Align placement of multiple graphs.

Syntax

graph_name.align(n,h,v)

Options

You must specify three numbers (each separated by a comma) in parentheses in the following order: the first number n is the number of columns in which to place the graphs, the second number h is the horizontal space between graphs, and the third number v is the vertical space between graphs. Spacing is specified in virtual inches.

Examples

mygraph.align(3,1.5,1)

aligns MYGRAPH with graphs placed in three columns, horizontal spacing of 1.5 virtual inches, and vertical spacing of 1 virtual inch.

var var1.ls 1 4 m1 gdp

freeze(impgra) var1.impulse(m,24) gdp @ gdp m1

impgra.align(2,1,1)

estimates a VAR, freezes the impulse response functions as multiple graphs, and realigns the graphs. By default, the graphs are stacked in one column, and the realignment places the graphs in two columns.

Cross-references