NUMITEMS

Purpose:

Returns the total number of data items in a Window.

Syntax:

NUMITEMS(win)

win

-

Optional. Window reference. Defaults to current Window.

Returns:

An integer, the number of data item in the Window.

Example:

W1: gnorm(1000,1)

W2: integ(w1);overp(w1)

W3: xy(w1, w2)

 

numitems(w2)

returns 2

numitems(w3)

returns 1

numcols(w3)

returns 2

Remarks:

An ITEM is a data object comprised of one or more series. For example, an interval series is an item that consists of one series, an XY series is an item that consists of 2 series and an XYZ item is an item that consists of 3 series.
 

See NUMCOLS to count all columns.

 

See NUMFOCUS to return the number of overlays in a Window.

See Also:

ITEMCOUNT

NUMCOLS

NUMFOCUS

OVERLAY

OVERPLOT

SIZE