DADiSP Worksheet Functions > Function Categories > Display and Manipulation > GETPLOTSTYLE

 

GETPLOTSTYLE

Purpose:

Returns the plot style of a series.

Syntax:

GETPLOTSTYLE(series, index)

series

-

Optional. A series. Defaults to the current Window.

index

-

Optional. An integer. Index of series. Defaults to 1.

Returns:

An integer. The possible return values are as follows:

0:

Lines (default)

1:

Points

2:

Sticks

3:

Bars

4:

Table

5:

HiLo

6:

Reserved

7:

Stack

8:

Percent stack

9:

Steps

10:

Stem

Example:

W1: 1..5;bars

getplotstyle(W1)

 

returns 3, indicating a bar plot.

 

a = gnorm(100,1)

setplotstyle(a, 9)

getplotstyle(a)

 

returns 9, a step plot.

Remarks:

See SETPLOTSTYLE to set the plotting style of a series or Window.

See Also:

BARS

GETPLOTTYPE

HILO

LINES

POINTS

SETPLOTSTYLE

SETPLOTTYPE

SETSYMBOL

STACK

STEPS

STICKS

TABLEVIEW