FRAME Function

Draws a border around the portion of the display area defined by the XSYS and YSYS variables. Can specify a background color for the framed area.
Note: The FRAME function is not supported by Java.

Syntax

FUNCTION='FRAME';

Associated Variables

COLOR='color'
specifies the frame color and, if the STYLE variable is specified, fills the interior of the frame. Color can be any SAS/GRAPH color name.
HSYS='coordinate-system'
specifies the coordinate system for the SIZE variable. See HSYS Variable for an explanation of coordinate-system.
HTML='link-string'
specifies the text that defines the link for drill-down.
LINE=1...46
specifies the line type with which to draw the frame. See Specifying Line Types for an illustration of the line types.
SIZE=line-thickness
specifies the thickness of the line with which to draw the frame. See DRAW Function for details.
STYLE='fill-pattern'
specifies the pattern that fills the area that is bounded by the frame. Fill-pattern can be the following bar and block patterns:
SOLID
S
a solid fill.
EMPTY
E
an empty fill.
style<density>
a shaded pattern:
  • style can be R | X | L
  • density can be 1...5
See also the discussion of fill patterns for bars and blocks in the documentation for the VALUE= option for the PATTERN Statement.
Note:Java and ActiveX support only SOLID and EMPTY. EMPTY is the default if any other value is used.
WHEN='B' | 'A'
specifies when to draw the frame in relation to other procedure output. See WHEN Variable.
XSYS='coordinate-system'
YSYS='coordinate-system'
define the area to be enclosed by the frame. See XSYS Variable and YSYS Variable for an explanation of these variables and the areas that they affect.

Details

Use FRAME to simulate the CBACK= graphics option on devices (such as plotters) that do not support that option. For devices that do support the CBACK= graphics option, FRAME works in addition to that option. FRAME does not alter the (XLAST, YLAST) coordinates. See CBACK for more information about CBACK=.