SETAVDEFX, SETAVDEFY

Purpose:

Sets the default rotation for labels on x- and y-axis.

Syntax:

SETAVDEFX(win, rotation)

SETAVDEFY(win, rotation)

win

-

Optional. A window, defaults to the current Window.

rotation

-

Optional. An integer, the axis label rotation mode:

0:

90 degree rotation of entire string, all sides.

1:

270 degree rotation of entire string (i.e. 90 degrees clockwise), all sides.

2:

Horizontal characters laid out in vertical sequence, all sides. Horizontal leftmost letter becomes vertical topmost letter.

3:

90 degree rotation of entire string for left and bottom sides 270 degree rotation of entire string for right and top sides.

4:

270 degree rotation of entire string for left and bottom sides 90 degree rotation of entire string for right and top sides.

Example:

W1: grand(100,.5,1);scales(2);setaoriy(2);setavdefy(4)

 

Click on the scales button in the toolbar (or F5), and see how the y-axis labels change their rotation as the scales move from the left side to the right side of the window.

Remarks:

SETAVDEFX and SETAVDEFY set the vertical default rotation for axis labels. The default settings are 90 degree rotation for x-axis labels, 90 degree rotation for y-axis labels on left and bottom sides, 270 degree rotation for y-axis labels on right and top sides.

See Also:

FOCUS

OVERLAY

SCALES

SETAORIX, SETAORIY

SETAROTX, SETAROTY

SETTORIX, SETTORIY

SETTROTX, SETTROTY

SETTVDEFX, SETTVDEFY