GPLOT Procedure

PROC GPLOT Statement

Identifies the data set that contains the plot variables. Can specify uniform axis scaling for all graphs as well as an annotate data set and an output catalog.
Requirement: An input data set is required.

Syntax

PROC GPLOT <DATA=input-data-set>
<ANNOTATE=Annotate-data-set>
<GOUT=<libref.>output-catalog>
<IMAGEMAP=output-data-set>
<UNIFORM>;

Optional Arguments

ANNOTATE=Annotate-data-set
specifies a data set to annotate all graphs that are produced by the GPLOT procedure. To annotate individual graphs created using a By statement or multiple action statements, use ANNOTATE= in the action statement.
Alias:ANNO=
DATA=input-data-set
specifies the SAS data set that contains the variables to plot. By default, the procedure uses the most recently created SAS data set.
GOUT=< libref. >output-catalog
specifies the SAS catalog in which to save the graphics output that is produced by the GPLOT procedure. If you omit the libref, SAS/GRAPH looks for the catalog in the temporary library called WORK and creates the catalog if it does not exist.
IMAGEMAP= output-data-set
creates a temporary SAS data set that is used to generate an image map in an SVG file when you are sending output to the LISTING destination. (This option is not necessary when you are sending output to the HTML destination.) The drill-down URLs in the image map must be provided by variables in the input data set. These variables are identified to the procedure with the HTML= and HTML_LEGEND= options.
UNIFORM
specifies that the same axis scaling is used for all graphs that are produced by the procedure. The same axis scaling would apply across Run-groups as well. By default, the range of axis values for each axis is based on the minimum and maximum values in the data and therefore can vary from graph to graph and among BY groups. Using the UNIFORM option forces the value range for each axis to be the same for all graphs. Thus, if the procedure produces multiple graphs with both left and right vertical axes, the UNIFORM option scales all of the left axes the same and all of the right axes the same, based on the minimum and maximum data values.
In addition, UNIFORM forces the assignment of SYMBOL statements for the category variable without regard to the BY-group variable. If a legend is generated, UNIFORM makes the legend the same across graphs.
Restriction:Partially supported by Java and ActiveX