You can use the GREPLAY
procedure to create custom templates. Custom templates are typically
used to perform the following actions:
-
control the layout of multiple
graphs on one page, which is useful for dashboards
-
replay graphics output from several
catalog entries, or from the same catalog, on one display or page
-
change the shape of your graphics
output
-
change the size of your graphics
output
To define and view a custom template:
-
Start the GREPLAY procedure
with the NOFS option.
-
Assign a template catalog
with the TC= option.
-
Define a template with
the TDEF statement.
-
Preview the template
with the PREVIEW statement.
-
End the GREPLAY procedure
with the QUIT statement.
Before you create a
template, you must assign a template catalog. If you are using the
GREPLAY procedure in line mode, use the TDEF statement to define a
template and the PREVIEW statement to preview a template. For example,
the following statements define and preview a template named TEMPLT:
proc greplay nofs tc=sasuser.cat;
tdef templt 1/def;
preview templt;
quit;