‘qk_3Dplot’ allows quick plotting of slices of a 3D spectrum as a 2D plot. One specifies the plotting settings the same way as for ‘quik_2Dplot’. The only exception is that ‘par.dim’ must be a string with 3 numbers (‘321’ is default). The first two listed dimensions will be plotted, and the slice is extracted from the third dimension. One must additionally specify the frequency in the third dimension to be extracted. A range may also be plotted, in which case an overlay of all spectra within the given range will be displayed. By default, qk_3Dplot will set ‘plotpar.scaled’ to ‘y’, so that overlaid plots will always have the same contour levels.
To plot a slice between frequency positions 110 and 111 ppm:
qk_3Dplot(spec,par,[110 111]);