function returning number of rows

Hi,

for my Igor procedure I am looking for a function that returns the number of rows, columns and layers of a given 3D-wave. Has anybody an idea how this function is called?


Thank's,
Finn
You'll have to roll your own from the DimSize function.

Per the help file...

DimSize(waveName, dimNumber )
The DimSize function returns the size of the given dimension.
dimNumber is one of the following:
0: Rows.
1: Columns.
2: Layers.
3: Chunks.
For a 1D wave, DimSize(waveName,0) is identical to numpnts(waveName).
Hi jtigor,

thank you very much. That was exactly what I was looking for.

Cheers,
Finn