WHICHSCALES

Purpose:

Returns integer corresponding to the scale which matches described property parameters.

Syntax:

WHICHSCALES(yaxis, yloc, ylabel, xaxis, xloc, xlabel)

yaxis

-

An integer. The y-axis visibility:

0:

Not visible

1:

Visible

yloc

-

An integer. The y-axis location:

0:

Left side

1:

Right side

ylabel

-

An integer. The y-label visibility:

0:

Not visible

1:

Visible

xaxis

-

An integer. The x-axis visibility:

0:

Not visible

1:

Visible

xloc

-

An integer. The x-axis location:

0:

Bottom side

1:

Top side

xlabel

-

An integer. The x-label visibility:

0:

Not visible

1:

Visible

Returns:

An integer that can be used as the argument to the SCALES function to produce the scales with desired properties.

Example:

whichscales(1,0,1,1,0,1)

 

returns the value: 2. The command SCALES(2), results in the x-axis displayed on the bottom and the y-axis displayed on the left with labels on both the x-axis and y-axis.

Example:

whichscales(1,1,1,0,0,0)

 

returns the value 14; y-axis on right with labels displayed.

Example:

whichscales(0,0,0,1,1,1)

 

returns the value 16; x-axis on bottom with labels displayed.

See Also:

SCALES