SETTORIX, SETTORIY

Purpose:

Sets the orientation of the labels associated with the tic marks on axes.

Syntax:

SETTORIX(win, orient)

SETTORIY(win, orient)

win

-

Optional. A window, defaults to the current Window.

orient

-

An integer, the tic 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);settoriy(1);
focus(2);settoriy(2)

 

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

Remarks:

SETTORIX and SETTORIY 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 tic 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

SETAORIX, SETAORIY

SETAROTX, SETAROTY

SETAVDEFX, SETAVDEFY

SETTROTX, SETTROTY

SETTVDEFX, SETTVDEFY

SETXTIC

SETYTIC