SETTROTX, SETTROTY

Purpose:

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

Syntax:

SETTROTX(win, rotation)

SETTROTY(win, rotation)

win

-

Optional. A window, defaults to the current Window.

rotation

-

Optional. An integer, the tic label rotation mode:

0:

No Rotation.

1:

90 degree rotation of entire string.

2:

180 degree rotation (i.e. upside down).

3:

270 degree rotation (i.e. 90 degrees clockwise).

4:

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

Example:

W1: gsin(100,.01,4);scales(3);settrotx(0);
label("No Rotation")

W2: gsin(100,.01,4);scales(3);settrotx(1);
label("90 deg Rotation")

W3: gsin(100,.01,4);scales(3);settrotx(3);
label("270 deg Rotation")

W4: gsin(100,.01,4);scales(3);settrotx(4);
label("Character Rotation")

 

Show the x-axis tic labels in various modes of rotation.

Remarks:

The combination of orientation (SETTORIX, SETTORIY) and vertical default rotation (SETTVDEFX, SETTVDEFY) covers most cases desired by users. Setting rotation explicitly via SETTROTX, SETTROTY rotation functions is meant for users who want to fine-tune a plot presentation for printing.

 

It is recommended that you use the SETTORI-, SETAORI-, SETTVDEF-, and SETAVDEF- functions. SETTROTX and SETTROTY apply to the scales associated with the current focus of the specified window.

 

If scales change via execution of the SCALES command, function key (F5) or toolbar button, then any rotations set explicitly by rotation functions will be replaced by the rotation values inferred from orientation and vertical default rotation.

See Also:

FOCUS

OVERLAY

SCALES

SETAORIX, SETAORIY

SETAROTX, SETAROTY

SETAVDEFX, SETAVDEFY

SETTORIX, SETTORIY

SETTVDEFX, SETTVDEFY

SETXTIC

SETYTIC