DADiSP Worksheet Functions > Function Categories > Display and Manipulation > GETPLOTSTYLE
Returns the plot style of a series.
GETPLOTSTYLE(series, index)
series |
- |
Optional. A series. Defaults to the current Window. |
index |
- |
Optional. An integer. Index of series. Defaults to 1. |
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 |
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.
See SETPLOTSTYLE to set the plotting style of a series or Window.