Chapter Contents

Previous

Next
YC Variable

YC Variable



Identifies the y coordinate of a graphics element when the coordinate value is character.

Type: character
Length: Should match that of the plot variable in the procedure.
Default: YLAST | YLSTT
Restrictions: Used only with output from the GCHART and GPLOT procedures. Ignored if the axes are numeric.


Syntax
Functions
Details

Syntax

YC='character-type-vertical-coordinate';


Functions

You can use the YC variable with these functions:
BAR PIE POLY
DRAW PIECNTR POLYCONT
LABEL POINT SYMBOL
MOVE


Details

The YC variable is the character equivalent of the Y variable. Use YC when the axis values are character. You must also specify a value of 2 (absolute data values) for the YSYS variable. (See YSYS Variable.) If you use a value other than 2 for the YSYS variable, the graphics output is not displayed properly.

See Using the XC and YC Variables with Character Data for an illustration of the YC variable.

Note:   The X or XC variable is required unless either the MIDPOINT, GROUP, or SUBGROUP variable provides the horizontal coordinate.  [cautionend]

CAUTION:
Do not use Y and YC variables in the same data set. Using both Y and YC variables in the same data set can cause unpredictable results.  [cautionend]


Chapter Contents

Previous

Next

Top of Page

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