DADiSP Worksheet Functions > Function Categories > Annotation > SETCOMMENT

 

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: grand(100,.01)

W2: gnorm(100,.01)

W3: W1;overplot(w2, red);tablev

setcomment("Normal", 2, 1);pon

 

sets the text at the top of the second column to "Normal".

Remarks:

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

See Also:

COMMENT

GETCOMMENT