Returns the item type of a composite series.

ITEMTYPE(series)

series |
- |
Optional. A series. Defaults to the current Window. |

An integer. The following itemtypes are defined:

0: |
Series |

1: |
XY Series |

2: |
List or Multi-column Series |

3: |
Error Bar |

4: |
Reserved |

5: |
Reserved |

6: |
Symbol Plot |

7: |
XY Symbol Plot |

8: |
XYZ Plot |

9: |
Individual Multiple Series |

10: |
Array of Text or Shape Handles |

a = gsin(100, .01, 4);

b = gcos(100, .01, 4);

c = a * b;

W1: a

W2: xy(a, b)

W3; xyz(a, b, c)

itemtype(W1) returns 0.

itemtype(W2) returns 1.

itemtype(W3) returns 8.

The basic data type is a single column series. However, by combining one or more series, new data items can be represented. For example, an XY series consists of two series, the X and Y values and an XYZ series consists of three series. An image normally contains multiple series of the same length.

A table consists of multiple series where each column is a series and a function automatically processes all columns of the table. For example:

t = {{1, 2, 3},

{4, 5, 6},

{7, 8, 9}};

u = t * t;

u == {{ 1, 4 , 9},

{16, 25, 36},

{49, 64, 81}}

itemtype(t) == 2

itemtype(u) == 2

Indicating that both **t**
and **u** are multi-column series.

The most common items are simple series and multi-column series or lists.