procedure spec3d

Draw an averaged spectrum of the cube multiplied by the mask.

Syntax
spec3d cube, mask [,title=string] [,xtitle=string] [,ytitle=string]

Arguments
cube:   A 3-dimensional matrix
mask:   A 2-dimensional matrix