‘qk_iso3Dplot’ creates a 3-dimensional visualization of a 3D spectrum. Isosurfaces of the spectrum are displayed for a particular spectrum amplitude (all points in the spectrum with a given amplitude are shown as a surface). This is set with the ‘level’ variable. The user may specify further settings in the ‘plotpar’ variable.
Plotting if ‘plotpar’ structure is provided:
qk_iso3Dplot(spec,plotpar);
Plotting while only providing a level, here with both positive and negative amplitudes (‘level=[-.4 .4]’)
qk_iso3Dplot(spec,[-.4 .4]);
The fields of ‘plotpar’ are described below.
level: This controls the level of the isosurface. This is given as a fraction of the maximum spectrum amplitude, and so should take on some value between -1 and 1 (0 is prohibited). A positive value will restrict the plotting to positive amplitudes, specifying it as negative will restrict plotting to negative amplitudes. One may also enter two values into ‘plotpar.level’ (one positive, one negative) to plot both positive and negative amplitude peaks. By default, only positive amplitudes are plotted, which are 30% of the spectrum maximum (‘plotpar.level=.3’).
plotpar.level: Same as ‘level, but entered into the ‘plotpar’ structure to allow control of other settings.
plotpar.color: This controls the plotting color of the spectrum. Entry should be a 1 x 3 array if only using positive or only negative peaks. Otherwise, it should be a 2 x 3 array, for which the first row gives the positive color in RGB format, and the second row gives the negative color.
par.dim: This string gives the plotting order of the dimensions. Default is ‘123’.
par.range: This vector specifies the range to be plotted. Should be a 1 x 6 vector with order [LB1 UB1 LB2 UB2 LB3 UB3].