SAS Macro Programs: inset
$Version: 1.0 (17 Jan 2006 16:03:42)
Michael Friendly
York University
Replay one graph inside another
The INSET macro replays one graph inside another
The INSET macro is defined with keyword parameters. MAIN=
, INSET=
,
AT=
and SIZE=
are required.
The arguments may be listed within parentheses in any order, separated
by commas. For example:
%inset(main=1, inset=2, at=70 5, size=30 30);
- MAIN=
-
Name or number of the main graph in the
GIN=
graphics catalog
- INSET=
-
Name or number of inset graph in the
GIN=
graphics catalog
- AT=
-
The percentage lower left X,Y location of inset graph. Two
numbers; a single value is repeated.
- SIZE=
-
Percentage X,Y size of the inset graph. Two
numbers; a single value is repeated.
- GIN=
-
Name of input graphic catalog [Default:
GIN=GSEG
]
- GOUT=
-
The name of the output graphics catalog [Default:
GOUT=GSEG
]
Example
%include macros(inset); *-- or include in an autocall library;
%inset();
See also
panels Display a set of plots in rectangular panels