SETTVDEFX, SETTVDEFY

Purpose:

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

Syntax:

SETTVDEFX(win, rotation)

SETTVDEFY(win, rotation)

win

-

Optional. A window, defaults to the current Window.

rotation

-

Optional. An integer, the tic 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);settoriy(2);settvdefy(3)

 

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

Remarks:

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

See Also:

FOCUS

OVERLAY

SCALES

SETAORIX, SETAORIY

SETAROTX, SETAROTY

SETAVDEFX, SETAVDEFY

SETTORIX, SETTORIY

SETTROTX, SETTROTY