DADiSP Worksheet Functions > Function Categories > Plot Attributes > SETXTIC

 

SETXTIC

Purpose:

Sets the tic spacing on the x-axis.

Syntax:

SETXTIC(win, xtic)

win

-

Optional. Window reference. Defaults to the current Window.

xtic

-

A real, the desired X tic interval.

Example:

setxtic(.01)

 

sets the x tic interval on the current Window to 0.01.

Example:

setxtic

 

sets the tic intervals of the current Window to the default values.

Example:

The GETXTIC and GETYTIC functions return the current tic intervals.

 

setxtic((W2), getxtic(W1))

 

sets the tic interval of W2 to the interval of W1.

Example:

W1: gnorm(10000, 1);setxlog(1, 0, 1);setxtic(2)

 

 

The data in W1 is plotted on a log X scale. The X tic interval is set to 2 decades.

Remarks:

If the tic interval is negative or not specified, the tic intervals are scaled automatically.

 

For a plot with a log X axis, the xtic interval refers to decades, i.e. 10xtic.

See Also:

GETXTIC

GETYTIC

SETX

SETXLOG

SETXTICPRECISION

SETXY

SETYTIC

SETYTICPRECISION

SETZTIC

XTIC

YTIC

ZTIC