SETAORIX, SETAORIY

Purpose:

Sets the orientation of the axis labels.

Syntax:

SETAORIX(win, orient)

SETAORIY(win, orient)

win

-

Optional. A window, defaults to the current Window.

orient

-

An integer, the axis label orientation:

1:

Horizontal (default)

2:

Vertical

Example:

W1: gsin(100,.01);setvunits("Volts")

W2: gcos(100,.01);setvunits("Amps")

W3: w1;staggery(0);staggerx(0);Scales(2);
sety(-4,1.5);spany(-1,1);overlay(w2,red);
focus(2);staggery(0);staggerx(0);scales(13);
sety(-1.5,4);spany(-1,1);focus(1);setaoriy(1);
focus(2);setaoriy(2)

 

Window 3 contains the 2 overlayed curves with flush scales and different axis label orientations. The axis labels for the sine wave are horizontal, while those for the cosine wave are vertical.

Remarks:

SETAORIX and SETAORIY apply to the scales associated with the current focus of the specified Window. By setting the orientation, the label will be drawn horizontally or vertically, i.e. succeeding characters in a label string will be drawn below or above (vertical) or to the right or left (horizontal) of preceding characters. If the axis label is vertically oriented, then its rotation is defined to be the vertical label default rotation for its label type and axis.

See Also:

FOCUS

OVERLAY

SCALES

SETAROTX, SETAROTY

SETAVDEFX, SETAVDEFY

SETTORIX, SETTORIY

SETTROTX, SETTROTY

SETTVDEFX, SETTVDEFY

SETXTIC

SETYTIC