ColorPalette.CreatePeakHoldPalette Method

void CreatePeakHoldPalette(Double aMax, Double aMin)

Create default palette entries/levels, but keep the scale.

#NameDescription
1aMaxDefines maximum value between consecutive calls to function.
2aMinDefines minimum value between consecutive calls to function.

Result: stored in self (calling object)

Remarks:

Creates default palette entries/level, but adjust the scaling by remembering the maximum aMax and minimum aMin between consecutive calls of the function. The scale can be reset by calling Dew.Math.Tee.ColorPalette.ResetPeakScale.