SAS Institute. The Power to Know

SAS/GRAPH(R) 9.2: Graph Template Language Reference

Previous | Next
Key Concepts

Curve Label Location Relative to the Plot Area

By default, the label for a curve line is displayed inside of the plot area. The following figure shows the default location of the label for a series plot labeled "Curve Label":

curvelabelinside image

Depending on the shape of the curve line, its distribution of values, and the other plot elements that must be displayed within the plot area, GTL may have to add an offset (see "Adjusting Axis Offsets") to one of the plot's axis lines to provide enough room for the curve label. To prevent the offset of the axis line, you can move the curve label outside of the plot area by specifying CURVELABELLOCATION=OUTSIDE on the plot statement:

curvelabeloutside image

Regardless of whether the curvle label is displayed inside or outside of the plot area, you can use the CURVELABELPOSITION= option to adjust the label's position relative to the curve line.

Previous | Next | Top of Page