SETAROTX, SETAROTY

Purpose:

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

Syntax:

SETAROTX(win, rotation)

SETAROTY(win, rotation)

win

-

Optional. A window, defaults to the current Window.

rotation

-

Optional. An integer, the axis 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);setarotx(0); label("No Rotation")

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

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

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

 

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

Remarks:

The combination of orientation (SETAORIX, SETAORIY) and vertical default rotation (SETAVDEFX, SETAVDEFY) covers most cases desired by users. Setting rotation explicitly via SETAROTX, SETAROTY 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. SETAROTX and SETAROTY 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

SETAVDEFX, SETAVDEFY

SETTORIX, SETTORIY

SETTROTX, SETTROTY

SETTVDEFX, SETTVDEFY