Using proc gplot
Keywords: gplot,data option,gout option,uniform option,annotate option,proc gplot statement,gplot procedure,imagemap option
Description: creates a temporary SAS data set that is used to generate an image map in an HTML output file. The IMAGEMAP= option can be used only if the PLOT or PLOT2 statements are used, and the PLOT or PLOT2
creates a temporary SAS data set that is used to generate an image map in an HTML output file. The IMAGEMAP= option can be used only if the PLOT or PLOT2 statements are used, and the PLOT or PLOT2 statement must use the HTML= option or the HTML_LEGEND= option or both.
If the HTML= option is used in the PLOT or PLOT2 statement, the plot points are defined as hot zones, unless the AREA= option is also used. In that case there are not plot points and the areas between plot lines are defined as hot zones. If the HTML_LEGEND= option is used, the legend symbols are defined as hot zones. Information for the links is stored in the variables referenced by the HTML= or HTML_LEGEND= options or both.
The %IMAGEMAP macro generates the image map in the HTML output file. The macro takes two arguments, the name of the image map data set and the name or fileref of the HTML output file, as shown in the following example:
specifies that the same axis scaling is used for all graphs that are produced by the procedure. 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.