SETCOMMENT

Purpose:

Sets the comment for any series in a Window, including overlays and overplots.

Syntax:

SETCOMMENT(series, "string", item, column)

series

-

Optional. A series. Defaults to the series in the current Window.

"string"

-

A string. The comment for the series.

item

-

Optional. An integer, the item number. Defaults to 1.

column

-

Optional. An integer, the column number within the specified item. Defaults to 1.

Example:

W1: ravel(1..60,20);setcomment("Port A",1);setcomment("Port B",2);setcomment("Port C",3);setvunits("V",-1);table

 

image\setcomment1.png

W1 generates a 20x3 table and sets the comments of columns 1, 2, and 3 to "Port A", Port B" and "Port C respectively.

Example:

W1: grand(100,.01)

W2: gnorm(100,.01)

W3: W1;overplot(w2);setcomment("Uniform",1);setcomment("Normal",2);table

 

W1 contains 100 samples of uniformly distributed random noise.

 

W2 contains 100 samples of normally distributed random noise.

 

W3 overplots to two series and sets the comment of column 1 to "Uniform" and the comment of column 2 to "Normal".

Remarks:

The comment is displayed as the column header when in TABLEVIEW.

See Also:

COMMENT

GETCOMMENT