SETSYMBOL

Purpose:

Places a specified symbol on the chosen data points of a series.

Syntax:

SETSYMBOL(series, symbol, item, interval, offset)

series

-

Optional. A series. Defaults to the current Window.

symbol

-

Optional. An integer, the symbol type. Defaults to 0. Valid arguments are:

 

Description

Macro Equivalent

Integer Value

No symbol

DOTS

0

Box

SQUARE

1

Triangle

TRIANGLE

2

Upside Down Triangle

INV_TRIANGLE

3

+

CROSS

4

x

XCROSS

5

Empty Up-Arrow

CLR_UP_ARROW

6

Empty Down-Arrow

CLR_DN_ARROW

7

Filled Up-Arrow

UP_ARROW

8

Filled Down-Arrow

DN_ARROW

9

Empty Diamond

CLR_DIAMOND

10

Empty Square

CLR_SQUARE

11

Empty Triangle

CLR_TRIANGLE

12

Empty Upside Down Triangle

CLR_INV_TRI

13

Circle

CIRCLE

14

Empty Circle

CLR_CIRCLE

15

 

item

-

Optional. Series number. The series number if the target is a Window with more than one series. Defaults to 1.

interval

-

Optional. Data point interval for symbol. Defaults to 1.

offset

-

Optional. Start point for symbol. Defaults to 1.

Example:

setsymbol(1, 2)

 

Sets a box as the symbol that surrounds every data point of the second series in the current Window.

Example:

setsymbol(W2, 1, 2)

 

Does the same for the second series in W2.

Example:

setsymbol(W2, 3, 4, 5, 6)

 

Sets an upside down triangle every fifth point starting at the sixth point for the fourth series in W2.

Remarks:

Numeric values can be added to the symbols by adding 1000 to the symbol type. For example:

 

setsymbol(1014)

 

create a symbol plot with circles and numeric values.

 

The size of the symbol can be set with the SYMBOL_SIZE configuration parameter.

 

SETSYMBOL can be abbreviated SETSYM.

See Also:

GETSYMBOL

OVERLAY

OVERPLOT

SETPLOTSTYLE

SETSYMBOLINTERVAL

SETSYMBOLOFFSET

SETSYMBOLSIZE