Chapter Contents

Previous

Next
FRAME Function

FRAME Function



Draws a border around the portion of the display area defined by the XSYS and YSYS variables. Optionally specifies a background color for the framed area.


Syntax
Associated Variables
Details

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.

LINE=1...46
specifies the line type with which to draw the frame. See Specifying Line Typesfor 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 VALUE=.

WHEN='B' | 'A'
specifies when to draw the frame in relation to other procedure output.

XSYS='coordinate-system'
YSYS='coordinate-system'
define the area to be enclosed by the frame. For example, if XSYS='1' and YSYS='1', the frame encloses the axis area as shown in Frame Created When XSYS='1' and YSYS='1'. See XSYS Variable and the YSYS variable on YSYS Variable for an explanation of coordinate-system.

Frame Created When XSYS='1' and YSYS='1'

[IMAGE]

If XSYS='3' and YSYS='3', the frame encloses the entire graphics output area, as shown in Frame Created When XSYS='3' and YSYS='3'.

Frame Created When XSYS='3' and YSYS='3'

[IMAGE]

The values for XSYS and YSYS do not have to be the same. If XSYS='3' and YSYS='5', the frame encloses the entire width of the graphics output area; however, vertically, the frame only encloses the procedure output area as shown in Frame Created When XSYS='3' and YSYS='5'.

Frame Created When XSYS='3' and YSYS='5'

[IMAGE]

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 on CBACK=.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.