DADiSP Worksheet Functions > Function Categories > Annotation > COMXLABEL

 

COMXLABEL

Purpose:

Labels the X axis with the series comment and units.

Syntax:

COMXLABEL(win1, win2, ..., winN, commentonly, nodefault, fmt)

winN

-

Optional. Zero or more windows. Defaults to the current window.

commentonly

-

Optional. An integer, display comment only.

0:

Display both comment and units (default).

1:

Display comment only.

nodefault

-

Optional. An integer, do not display default comment.

0:

Display default comment.

1:

Do not display comment if it is the default comment (default).

fmt

-

Optional. An integer, the units grouping format.

0:

Enclose the units in ()'s (default).

1:

Enclose the units in []'s.

Example:

W1: gnorm(1000,1/1000);setvunits("V");setcomment("Channel 1")

W2: sort(gnorm(1000,1/1000),1);setvunits("W");setcomment("Channel 2")

W3: xy(W2, W1);comxlabel

 

Labels the X axis with the comment and units of the X series.

Remarks:

COMXLABEL is useful when reading external tabular data to produce one or more XY series and each series comment is set to the column headers of the table.

 

See SERXLABEL to label the X axis with the series name and units.

See Also:

COMLABEL

COMXYLABEL

COMYLABEL

GETLABEL

LABEL

SERXLABEL

SETCOLHEADER

SETCOMMENT

SETXLABEL, SETYLABEL

TEXT

WINCAPTION