Converts a complex number (or a vector/array thereof) into a color-string, such that brightness represents the complex amplitude and hue represents the complex phase.
cmplx2col(z, max = NULL, hue = 0, saturation = 1, gamma = 1)
complex number or vector/array of complex numbers
value of the complex module that corresponds to full brightness; if not given, this is set equal to the maximum complex amplitude in z.
hue value of positive reals
saturation value of colors
positive number to adjust the non-linearity of the color scale (1=linear)
Returns a single color or vector/array of colors