About the Project
Need Help?Viewing DLMF Interactive 3D Graphics

About Color Map

Surface visualizations in the DLMF represent functions of the form z=f(x,y) by the height z or the magnitude, |z|, for complex functions, over the x×y plane. We use color to augment these vizualizations, either to reinforce the recognition of the height, or to convey an extra dimension to represent the phase of complex valued functions.

Height Mapping

To provide an easily interpreted encoding of surface heights, a rainbow-like mapping of height to color is used. The following figure illustrates the piece-wise linear mapping of the height to each of the color components red, green and blue, written as R,G,B.

\begin{pspicture}(-14.22638pt,-14.22638pt)(122.34686pt,56.90552pt){\psline(0.0%
pt,0.0pt)(0.0pt,31.29803pt)}\rput[r](-2.84528pt,0.0pt){0} {\psline(-2.84528pt,%
0.0pt)(0.0pt,0.0pt)}\rput[r](-2.84528pt,28.45276pt){1} {\psline(-2.84528pt,28.%
45276pt)(0.0pt,28.45276pt)}\rput(0.0pt,-0.85358pt){
{\psline{->}(0.0pt,0.0pt)(119.50159pt,0.0pt)}{\psline(0.0pt,0.0pt)(0.0pt,-5.69%
055pt)}\rput[t](0.0pt,-5.69055pt){$z_{\mbox{\scriptsize min}}$}
{\psline(28.45276pt,0.0pt)(28.45276pt,-2.84528pt)}{\psline(56.90552pt,0.0pt)(5%
6.90552pt,-5.69055pt)}{\psline(85.35828pt,0.0pt)(85.35828pt,-2.84528pt)}{%
\psline(113.81104pt,0.0pt)(113.81104pt,-5.69055pt)}\rput[t](113.81104pt,-5.690%
55pt){$z_{\mbox{\scriptsize max}}$}
}
{\psset{linecolor=red}\psline(0.0pt,0.0pt)(28.45276pt,0.0pt)(56.90552pt,0.0pt)%
(85.35828pt,28.45276pt)(113.81104pt,28.45276pt)}{\psset{linecolor=green}%
\psline(0.0pt,0.0pt)(28.45276pt,28.45276pt)(56.90552pt,28.45276pt)(85.35828pt,%
28.45276pt)(113.81104pt,0.0pt)}{\psset{linecolor=blue}\psline(0.0pt,28.45276pt%
)(28.45276pt,28.45276pt)(56.90552pt,0.0pt)(85.35828pt,0.0pt)(113.81104pt,0.0pt%
)}{\psset{linestyle=none,fillstyle=gradient,gradangle=90,gradmidpoint=1}
{\psset{gradbegin=blue,gradend=cyan}\psframe(0.0pt,31.29803pt)(28.45276pt,56.9%
0552pt)}{\psset{gradbegin=cyan,gradend=green}\psframe(28.45276pt,31.29803pt)(5%
6.90552pt,56.90552pt)}{\psset{gradbegin=green,gradend=yellow}\psframe(56.90552%
pt,31.29803pt)(85.35828pt,56.90552pt)}{\psset{gradbegin=yellow,gradend=red}%
\psframe(85.35828pt,31.29803pt)(113.81104pt,56.90552pt)}}
\end{pspicture}
Figure 1: Mapping of height to color

Mathematically, we scale the height to h lying in the interval [0,4] and the components are computed as follows

R,G,B={0,h, 1if 0h<10, 1, 2hif 1h<2h2, 1, 0if 2h<31, 4h, 0if 3h4

Phase Mappings

By painting the surfaces with a color that encodes the phase, phf, both the magnitude and phase of complex valued functions can be displayed. We offer two options for encoding the phase.

Four Color Phase Mapping

The four color scheme quickly indicates in which quadrant z lies: the colors blue, green, red and yellow are used to indicate the first, second, third and fourth quadrants, respectively. As a mnemonic, the colors are sorted alphabetically.

\begin{pspicture}(-42.67914pt,-42.67914pt)(42.67914pt,42.67914pt){
{\psline{<->}(-42.67914pt,0.0pt)(42.67914pt,0.0pt)}\rput[t](36.98859pt,0.0pt){%
$+1$}
\rput[t](-36.98859pt,0.0pt){$-1$}
{\psline{<->}(0.0pt,-42.67914pt)(0.0pt,42.67914pt)}\rput[l](0.0pt,36.98859pt){%
$+\iunit$}
\rput[l](0.0pt,-36.98859pt){$-\iunit$}
}
{\psset{fillstyle=solid,linestyle=none}
{\psset{fillcolor=blue}\pswedge(0.0pt,0.0pt){28.45276pt}{0.0}{90.0}}
{\psset{fillcolor=green}\pswedge(0.0pt,0.0pt){28.45276pt}{90.0}{180.0}}
{\psset{fillcolor=red}\pswedge(0.0pt,0.0pt){28.45276pt}{180.0}{270.0}}
{\psset{fillcolor=yellow}\pswedge(0.0pt,0.0pt){28.45276pt}{270.0}{360.0}}}
\end{pspicture}
Figure 2: Four-color map

Continuous Phase Mapping

For the continuous phase mapping, we map the phase continuously onto the hue, as both are periodic. In doing this, however, we would like to place the mathematically significant phase values, specifically the multiples of π/2 correponding to the real and imaginary axes, at more immediately recognizable colors.

\begin{pspicture}(-19.91693pt,-19.91693pt)(19.91693pt,19.91693pt)
\definecolor{temp}{hsb}{0.0,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{0.0}{3.6}}
\definecolor{temp}{hsb}{0.01,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{3.6}{7.2}}
\definecolor{temp}{hsb}{0.02,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{7.2}{10.8}}
\definecolor{temp}{hsb}{0.03,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{10.8}{14.4}}
\definecolor{temp}{hsb}{0.04,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{14.4}{18.0}}
\definecolor{temp}{hsb}{0.05,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{18.0}{21.6}}
\definecolor{temp}{hsb}{0.06,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{21.6}{25.2}}
\definecolor{temp}{hsb}{0.07,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{25.2}{28.8}}
\definecolor{temp}{hsb}{0.08,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{28.8}{32.4}}
\definecolor{temp}{hsb}{0.09,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{32.4}{36.0}}
\definecolor{temp}{hsb}{0.1,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{36.0}{39.6}}
\definecolor{temp}{hsb}{0.11,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{39.6}{43.2}}
\definecolor{temp}{hsb}{0.12,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{43.2}{46.8}}
\definecolor{temp}{hsb}{0.13,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{46.8}{50.4}}
\definecolor{temp}{hsb}{0.14,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{50.4}{54.0}}
\definecolor{temp}{hsb}{0.15,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{54.0}{57.6}}
\definecolor{temp}{hsb}{0.16,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{57.6}{61.2}}
\definecolor{temp}{hsb}{0.17,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{61.2}{64.8}}
\definecolor{temp}{hsb}{0.18,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{64.8}{68.4}}
\definecolor{temp}{hsb}{0.19,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{68.4}{72.0}}
\definecolor{temp}{hsb}{0.2,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{72.0}{75.6}}
\definecolor{temp}{hsb}{0.21,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{75.6}{79.2}}
\definecolor{temp}{hsb}{0.22,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{79.2}{82.8}}
\definecolor{temp}{hsb}{0.23,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{82.8}{86.4}}
\definecolor{temp}{hsb}{0.24,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{86.4}{90.0}}
\definecolor{temp}{hsb}{0.25,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{90.0}{93.6}}
\definecolor{temp}{hsb}{0.26,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{93.6}{97.2}}
\definecolor{temp}{hsb}{0.27,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{97.2}{100.8}}
\definecolor{temp}{hsb}{0.28,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{100.8}{104.4}}
\definecolor{temp}{hsb}{0.29,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{104.4}{108.0}}
\definecolor{temp}{hsb}{0.3,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{108.0}{111.6}}
\definecolor{temp}{hsb}{0.31,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{111.6}{115.2}}
\definecolor{temp}{hsb}{0.32,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{115.2}{118.8}}
\definecolor{temp}{hsb}{0.33,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{118.8}{122.4}}
\definecolor{temp}{hsb}{0.34,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{122.4}{126.0}}
\definecolor{temp}{hsb}{0.35,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{126.0}{129.6}}
\definecolor{temp}{hsb}{0.36,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{129.6}{133.2}}
\definecolor{temp}{hsb}{0.37,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{133.2}{136.8}}
\definecolor{temp}{hsb}{0.38,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{136.8}{140.4}}
\definecolor{temp}{hsb}{0.39,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{140.4}{144.0}}
\definecolor{temp}{hsb}{0.4,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{144.0}{147.6}}
\definecolor{temp}{hsb}{0.41,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{147.6}{151.2}}
\definecolor{temp}{hsb}{0.42,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{151.2}{154.8}}
\definecolor{temp}{hsb}{0.43,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{154.8}{158.4}}
\definecolor{temp}{hsb}{0.44,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{158.4}{162.0}}
\definecolor{temp}{hsb}{0.45,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{162.0}{165.6}}
\definecolor{temp}{hsb}{0.46,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{165.6}{169.2}}
\definecolor{temp}{hsb}{0.47,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{169.2}{172.8}}
\definecolor{temp}{hsb}{0.48,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{172.8}{176.4}}
\definecolor{temp}{hsb}{0.49,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{176.4}{180.0}}
\definecolor{temp}{hsb}{0.5,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{180.0}{183.6}}
\definecolor{temp}{hsb}{0.51,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{183.6}{187.2}}
\definecolor{temp}{hsb}{0.52,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{187.2}{190.8}}
\definecolor{temp}{hsb}{0.53,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{190.8}{194.4}}
\definecolor{temp}{hsb}{0.54,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{194.4}{198.0}}
\definecolor{temp}{hsb}{0.55,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{198.0}{201.6}}
\definecolor{temp}{hsb}{0.56,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{201.6}{205.2}}
\definecolor{temp}{hsb}{0.57,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{205.2}{208.8}}
\definecolor{temp}{hsb}{0.58,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{208.8}{212.4}}
\definecolor{temp}{hsb}{0.59,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{212.4}{216.0}}
\definecolor{temp}{hsb}{0.6,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{216.0}{219.6}}
\definecolor{temp}{hsb}{0.61,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{219.6}{223.2}}
\definecolor{temp}{hsb}{0.62,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{223.2}{226.8}}
\definecolor{temp}{hsb}{0.63,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{226.8}{230.4}}
\definecolor{temp}{hsb}{0.64,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{230.4}{234.0}}
\definecolor{temp}{hsb}{0.65,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{234.0}{237.6}}
\definecolor{temp}{hsb}{0.66,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{237.6}{241.2}}
\definecolor{temp}{hsb}{0.67,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{241.2}{244.8}}
\definecolor{temp}{hsb}{0.68,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{244.8}{248.4}}
\definecolor{temp}{hsb}{0.69,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{248.4}{252.0}}
\definecolor{temp}{hsb}{0.7,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{252.0}{255.6}}
\definecolor{temp}{hsb}{0.71,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{255.6}{259.2}}
\definecolor{temp}{hsb}{0.72,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{259.2}{262.8}}
\definecolor{temp}{hsb}{0.73,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{262.8}{266.4}}
\definecolor{temp}{hsb}{0.74,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{266.4}{270.0}}
\definecolor{temp}{hsb}{0.75,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{270.0}{273.6}}
\definecolor{temp}{hsb}{0.76,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{273.6}{277.2}}
\definecolor{temp}{hsb}{0.77,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{277.2}{280.8}}
\definecolor{temp}{hsb}{0.78,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{280.8}{284.4}}
\definecolor{temp}{hsb}{0.79,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{284.4}{288.0}}
\definecolor{temp}{hsb}{0.8,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{288.0}{291.6}}
\definecolor{temp}{hsb}{0.81,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{291.6}{295.2}}
\definecolor{temp}{hsb}{0.82,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{295.2}{298.8}}
\definecolor{temp}{hsb}{0.83,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{298.8}{302.4}}
\definecolor{temp}{hsb}{0.84,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{302.4}{306.0}}
\definecolor{temp}{hsb}{0.85,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{306.0}{309.6}}
\definecolor{temp}{hsb}{0.86,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{309.6}{313.2}}
\definecolor{temp}{hsb}{0.87,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{313.2}{316.8}}
\definecolor{temp}{hsb}{0.88,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{316.8}{320.4}}
\definecolor{temp}{hsb}{0.89,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{320.4}{324.0}}
\definecolor{temp}{hsb}{0.9,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{324.0}{327.6}}
\definecolor{temp}{hsb}{0.91,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{327.6}{331.2}}
\definecolor{temp}{hsb}{0.92,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{331.2}{334.8}}
\definecolor{temp}{hsb}{0.93,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{334.8}{338.4}}
\definecolor{temp}{hsb}{0.94,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{338.4}{342.0}}
\definecolor{temp}{hsb}{0.95,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{342.0}{345.6}}
\definecolor{temp}{hsb}{0.96,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{345.6}{349.2}}
\definecolor{temp}{hsb}{0.97,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{349.2}{352.8}}
\definecolor{temp}{hsb}{0.98,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{352.8}{356.4}}
\definecolor{temp}{hsb}{0.99,1,1}
{\psset{fillstyle=solid,fillcolor=temp,linestyle=none}\pswedge(0.0pt,0.0pt){19%
.91693pt}{356.4}{360.0}}
\ignorespaces\end{pspicture}

CMYK color wheel

The conventional CMYK color wheel (not to be confused with the traditional Artist’s color wheel) places the additive colors (red, green, blue) and the subtractive colors (yellow, cyan, magenta) at multiples of 60 degrees. In particular, the colors at 90 and 180 degrees are some vague greenish and purplish hues.

We therefore use a piecewise linear mapping as illustrated below, that takes phase 0 to red, π/2 to yellow, π to cyan and 3π/2 to blue.

\begin{pspicture}(-25.60776pt,-21.33865pt)(133.7294pt,101.00296pt){\psline(0.0%
pt,0.0pt)(0.0pt,86.77719pt)}{\psline(-2.8453pt,0.0pt)(0.0pt,0.0pt)}\rput[r](-2%
.8453pt,0.0pt){ 0}
{\psline(-2.8453pt,14.22577pt)(0.0pt,14.22577pt)}{\psline(-2.8453pt,28.45154pt%
)(0.0pt,28.45154pt)}{\psline(-2.8453pt,42.6773pt)(0.0pt,42.6773pt)}\rput[r](-2%
.8453pt,42.6773pt){180}
{\psline(-2.8453pt,56.90308pt)(0.0pt,56.90308pt)}{\psline(-2.8453pt,71.12885pt%
)(0.0pt,71.12885pt)}{\psline(-2.8453pt,85.35461pt)(0.0pt,85.35461pt)}\rput[r](%
-2.8453pt,85.35461pt){360}
\rput[b]{90.0}(-17.07184pt,42.6773pt){hue}
\rput(0.0pt,-0.42677pt){
{\psline{->}(0.0pt,0.0pt)(119.50287pt,0.0pt)}{\psline(0.0pt,0.0pt)(0.0pt,-4.26%
773pt)}\rput[t](0.0pt,-4.26773pt){ 0}
{\psline(28.45306pt,0.0pt)(28.45306pt,-4.26773pt)}{\psline(56.90613pt,0.0pt)(5%
6.90613pt,-4.26773pt)}\rput[t](56.90613pt,-4.26773pt){$\cpi$}
{\psline(85.35919pt,0.0pt)(85.35919pt,-4.26773pt)}{\psline(113.81226pt,0.0pt)(%
113.81226pt,-4.26773pt)}\rput[t](113.81226pt,-4.26773pt){$2\cpi$}
\rput[t](56.90613pt,-11.38062pt){phase}}
{\psline(0.0pt,0.0pt)(28.45306pt,14.22577pt)(56.90613pt,42.6773pt)(85.35919pt,%
56.90308pt)(113.81226pt,85.35461pt)}{\psset{linestyle=none,linewidth=0.0pt,fil%
lstyle=solid}
\definecolor{temp}{hsb}{0.0,1,1}
{\psset{fillcolor=temp}\psframe(0.0pt,86.77719pt)(1.42265pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,0.0pt)(130.8841pt,0.71129pt)}
\definecolor{temp}{hsb}{0.00833,1,1}
{\psset{fillcolor=temp}\psframe(1.42265pt,86.77719pt)(2.8453pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,0.71129pt)(130.8841pt,1.42258pt)}
\definecolor{temp}{hsb}{0.01666,1,1}
{\psset{fillcolor=temp}\psframe(2.8453pt,86.77719pt)(4.26796pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,1.42258pt)(130.8841pt,2.13387pt)}
\definecolor{temp}{hsb}{0.02499,1,1}
{\psset{fillcolor=temp}\psframe(4.26796pt,86.77719pt)(5.69061pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,2.13387pt)(130.8841pt,2.84515pt)}
\definecolor{temp}{hsb}{0.03332,1,1}
{\psset{fillcolor=temp}\psframe(5.69061pt,86.77719pt)(7.11327pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,2.84515pt)(130.8841pt,3.55644pt)}
\definecolor{temp}{hsb}{0.04165,1,1}
{\psset{fillcolor=temp}\psframe(7.11327pt,86.77719pt)(8.53592pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,3.55644pt)(130.8841pt,4.26773pt)}
\definecolor{temp}{hsb}{0.04998,1,1}
{\psset{fillcolor=temp}\psframe(8.53592pt,86.77719pt)(9.95857pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,4.26773pt)(130.8841pt,4.97902pt)}
\definecolor{temp}{hsb}{0.05831,1,1}
{\psset{fillcolor=temp}\psframe(9.95857pt,86.77719pt)(11.38123pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,4.97902pt)(130.8841pt,5.6903pt)}
\definecolor{temp}{hsb}{0.06664,1,1}
{\psset{fillcolor=temp}\psframe(11.38123pt,86.77719pt)(12.80388pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,5.6903pt)(130.8841pt,6.4016pt)}
\definecolor{temp}{hsb}{0.07497,1,1}
{\psset{fillcolor=temp}\psframe(12.80388pt,86.77719pt)(14.22653pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,6.4016pt)(130.8841pt,7.11288pt)}
\definecolor{temp}{hsb}{0.0833,1,1}
{\psset{fillcolor=temp}\psframe(14.22653pt,86.77719pt)(15.64919pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,7.11288pt)(130.8841pt,7.82417pt)}
\definecolor{temp}{hsb}{0.09163,1,1}
{\psset{fillcolor=temp}\psframe(15.64919pt,86.77719pt)(17.07184pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,7.82417pt)(130.8841pt,8.53546pt)}
\definecolor{temp}{hsb}{0.09996,1,1}
{\psset{fillcolor=temp}\psframe(17.07184pt,86.77719pt)(18.49449pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,8.53546pt)(130.8841pt,9.24675pt)}
\definecolor{temp}{hsb}{0.10829,1,1}
{\psset{fillcolor=temp}\psframe(18.49449pt,86.77719pt)(19.91714pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,9.24675pt)(130.8841pt,9.95804pt)}
\definecolor{temp}{hsb}{0.11662,1,1}
{\psset{fillcolor=temp}\psframe(19.91714pt,86.77719pt)(21.3398pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,9.95804pt)(130.8841pt,10.66933pt)}
\definecolor{temp}{hsb}{0.12495,1,1}
{\psset{fillcolor=temp}\psframe(21.3398pt,86.77719pt)(22.76245pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,10.66933pt)(130.8841pt,11.38062pt)}
\definecolor{temp}{hsb}{0.13328,1,1}
{\psset{fillcolor=temp}\psframe(22.76245pt,86.77719pt)(24.1851pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,11.38062pt)(130.8841pt,12.0919pt)}
\definecolor{temp}{hsb}{0.14161,1,1}
{\psset{fillcolor=temp}\psframe(24.1851pt,86.77719pt)(25.60776pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,12.0919pt)(130.8841pt,12.80319pt)}
\definecolor{temp}{hsb}{0.14994,1,1}
{\psset{fillcolor=temp}\psframe(25.60776pt,86.77719pt)(27.03041pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,12.80319pt)(130.8841pt,13.51448pt)%
}
\definecolor{temp}{hsb}{0.15827,1,1}
{\psset{fillcolor=temp}\psframe(27.03041pt,86.77719pt)(28.45306pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,13.51448pt)(130.8841pt,14.22577pt)%
}\ignorespaces
\definecolor{temp}{hsb}{0.16667,1,1}
{\psset{fillcolor=temp}\psframe(28.45306pt,86.77719pt)(29.87572pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,14.22577pt)(130.8841pt,15.64835pt)%
}
\definecolor{temp}{hsb}{0.18334,1,1}
{\psset{fillcolor=temp}\psframe(29.87572pt,86.77719pt)(31.29837pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,15.64835pt)(130.8841pt,17.07092pt)%
}
\definecolor{temp}{hsb}{0.20001,1,1}
{\psset{fillcolor=temp}\psframe(31.29837pt,86.77719pt)(32.72102pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,17.07092pt)(130.8841pt,18.4935pt)}
\definecolor{temp}{hsb}{0.21668,1,1}
{\psset{fillcolor=temp}\psframe(32.72102pt,86.77719pt)(34.14368pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,18.4935pt)(130.8841pt,19.91608pt)}
\definecolor{temp}{hsb}{0.23335,1,1}
{\psset{fillcolor=temp}\psframe(34.14368pt,86.77719pt)(35.56633pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,19.91608pt)(130.8841pt,21.33865pt)%
}
\definecolor{temp}{hsb}{0.25002,1,1}
{\psset{fillcolor=temp}\psframe(35.56633pt,86.77719pt)(36.98898pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,21.33865pt)(130.8841pt,22.76123pt)%
}
\definecolor{temp}{hsb}{0.26669,1,1}
{\psset{fillcolor=temp}\psframe(36.98898pt,86.77719pt)(38.41164pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,22.76123pt)(130.8841pt,24.1838pt)}
\definecolor{temp}{hsb}{0.28336,1,1}
{\psset{fillcolor=temp}\psframe(38.41164pt,86.77719pt)(39.83429pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,24.1838pt)(130.8841pt,25.60638pt)}
\definecolor{temp}{hsb}{0.30003,1,1}
{\psset{fillcolor=temp}\psframe(39.83429pt,86.77719pt)(41.25694pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,25.60638pt)(130.8841pt,27.02896pt)%
}
\definecolor{temp}{hsb}{0.3167,1,1}
{\psset{fillcolor=temp}\psframe(41.25694pt,86.77719pt)(42.6796pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,27.02896pt)(130.8841pt,28.45154pt)}
\definecolor{temp}{hsb}{0.33337,1,1}
{\psset{fillcolor=temp}\psframe(42.6796pt,86.77719pt)(44.10225pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,28.45154pt)(130.8841pt,29.87411pt)}
\definecolor{temp}{hsb}{0.35004,1,1}
{\psset{fillcolor=temp}\psframe(44.10225pt,86.77719pt)(45.5249pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,29.87411pt)(130.8841pt,31.29669pt)}
\definecolor{temp}{hsb}{0.36671,1,1}
{\psset{fillcolor=temp}\psframe(45.5249pt,86.77719pt)(46.94756pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,31.29669pt)(130.8841pt,32.71927pt)}
\definecolor{temp}{hsb}{0.38338,1,1}
{\psset{fillcolor=temp}\psframe(46.94756pt,86.77719pt)(48.37021pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,32.71927pt)(130.8841pt,34.14185pt)%
}
\definecolor{temp}{hsb}{0.40005,1,1}
{\psset{fillcolor=temp}\psframe(48.37021pt,86.77719pt)(49.79286pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,34.14185pt)(130.8841pt,35.56442pt)%
}
\definecolor{temp}{hsb}{0.41672,1,1}
{\psset{fillcolor=temp}\psframe(49.79286pt,86.77719pt)(51.21552pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,35.56442pt)(130.8841pt,36.987pt)}
\definecolor{temp}{hsb}{0.43339,1,1}
{\psset{fillcolor=temp}\psframe(51.21552pt,86.77719pt)(52.63817pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,36.987pt)(130.8841pt,38.40958pt)}
\definecolor{temp}{hsb}{0.45006,1,1}
{\psset{fillcolor=temp}\psframe(52.63817pt,86.77719pt)(54.06082pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,38.40958pt)(130.8841pt,39.83215pt)%
}
\definecolor{temp}{hsb}{0.46673,1,1}
{\psset{fillcolor=temp}\psframe(54.06082pt,86.77719pt)(55.48347pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,39.83215pt)(130.8841pt,41.25473pt)%
}
\definecolor{temp}{hsb}{0.4834,1,1}
{\psset{fillcolor=temp}\psframe(55.48347pt,86.77719pt)(56.90613pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,41.25473pt)(130.8841pt,42.6773pt)}%
\ignorespaces
\definecolor{temp}{hsb}{0.5,1,1}
{\psset{fillcolor=temp}\psframe(56.90613pt,86.77719pt)(58.32878pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,42.6773pt)(130.8841pt,43.3886pt)}
\definecolor{temp}{hsb}{0.50833,1,1}
{\psset{fillcolor=temp}\psframe(58.32878pt,86.77719pt)(59.75143pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,43.3886pt)(130.8841pt,44.09988pt)}
\definecolor{temp}{hsb}{0.51666,1,1}
{\psset{fillcolor=temp}\psframe(59.75143pt,86.77719pt)(61.17409pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,44.09988pt)(130.8841pt,44.81117pt)%
}
\definecolor{temp}{hsb}{0.52499,1,1}
{\psset{fillcolor=temp}\psframe(61.17409pt,86.77719pt)(62.59674pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,44.81117pt)(130.8841pt,45.52246pt)%
}
\definecolor{temp}{hsb}{0.53332,1,1}
{\psset{fillcolor=temp}\psframe(62.59674pt,86.77719pt)(64.0194pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,45.52246pt)(130.8841pt,46.23375pt)}
\definecolor{temp}{hsb}{0.54165,1,1}
{\psset{fillcolor=temp}\psframe(64.0194pt,86.77719pt)(65.44205pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,46.23375pt)(130.8841pt,46.94504pt)}
\definecolor{temp}{hsb}{0.54998,1,1}
{\psset{fillcolor=temp}\psframe(65.44205pt,86.77719pt)(66.8647pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,46.94504pt)(130.8841pt,47.65633pt)}
\definecolor{temp}{hsb}{0.55831,1,1}
{\psset{fillcolor=temp}\psframe(66.8647pt,86.77719pt)(68.28735pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,47.65633pt)(130.8841pt,48.36761pt)}
\definecolor{temp}{hsb}{0.56664,1,1}
{\psset{fillcolor=temp}\psframe(68.28735pt,86.77719pt)(69.71pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,48.36761pt)(130.8841pt,49.0789pt)}
\definecolor{temp}{hsb}{0.57497,1,1}
{\psset{fillcolor=temp}\psframe(69.71pt,86.77719pt)(71.13266pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,49.0789pt)(130.8841pt,49.79019pt)}
\definecolor{temp}{hsb}{0.5833,1,1}
{\psset{fillcolor=temp}\psframe(71.13266pt,86.77719pt)(72.55531pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,49.79019pt)(130.8841pt,50.50148pt)%
}
\definecolor{temp}{hsb}{0.59163,1,1}
{\psset{fillcolor=temp}\psframe(72.55531pt,86.77719pt)(73.97797pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,50.50148pt)(130.8841pt,51.21277pt)%
}
\definecolor{temp}{hsb}{0.59996,1,1}
{\psset{fillcolor=temp}\psframe(73.97797pt,86.77719pt)(75.40062pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,51.21277pt)(130.8841pt,51.92406pt)%
}
\definecolor{temp}{hsb}{0.60829,1,1}
{\psset{fillcolor=temp}\psframe(75.40062pt,86.77719pt)(76.82327pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,51.92406pt)(130.8841pt,52.63535pt)%
}
\definecolor{temp}{hsb}{0.61662,1,1}
{\psset{fillcolor=temp}\psframe(76.82327pt,86.77719pt)(78.24593pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,52.63535pt)(130.8841pt,53.34663pt)%
}
\definecolor{temp}{hsb}{0.62495,1,1}
{\psset{fillcolor=temp}\psframe(78.24593pt,86.77719pt)(79.66858pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,53.34663pt)(130.8841pt,54.05792pt)%
}
\definecolor{temp}{hsb}{0.63328,1,1}
{\psset{fillcolor=temp}\psframe(79.66858pt,86.77719pt)(81.09123pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,54.05792pt)(130.8841pt,54.76921pt)%
}
\definecolor{temp}{hsb}{0.64161,1,1}
{\psset{fillcolor=temp}\psframe(81.09123pt,86.77719pt)(82.51389pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,54.76921pt)(130.8841pt,55.4805pt)}
\definecolor{temp}{hsb}{0.64994,1,1}
{\psset{fillcolor=temp}\psframe(82.51389pt,86.77719pt)(83.93654pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,55.4805pt)(130.8841pt,56.19179pt)}
\definecolor{temp}{hsb}{0.65827,1,1}
{\psset{fillcolor=temp}\psframe(83.93654pt,86.77719pt)(85.35919pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,56.19179pt)(130.8841pt,56.90308pt)%
}\ignorespaces
\definecolor{temp}{hsb}{0.66667,1,1}
{\psset{fillcolor=temp}\psframe(85.35919pt,86.77719pt)(86.78185pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,56.90308pt)(130.8841pt,58.32565pt)%
}
\definecolor{temp}{hsb}{0.68334,1,1}
{\psset{fillcolor=temp}\psframe(86.78185pt,86.77719pt)(88.2045pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,58.32565pt)(130.8841pt,59.74823pt)}
\definecolor{temp}{hsb}{0.70001,1,1}
{\psset{fillcolor=temp}\psframe(88.2045pt,86.77719pt)(89.62715pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,59.74823pt)(130.8841pt,61.1708pt)}
\definecolor{temp}{hsb}{0.71668,1,1}
{\psset{fillcolor=temp}\psframe(89.62715pt,86.77719pt)(91.0498pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,61.1708pt)(130.8841pt,62.59338pt)}
\definecolor{temp}{hsb}{0.73335,1,1}
{\psset{fillcolor=temp}\psframe(91.0498pt,86.77719pt)(92.47246pt,99.58038pt)}{%
\psset{fillcolor=temp}\psframe(116.65756pt,62.59338pt)(130.8841pt,64.01596pt)}
\definecolor{temp}{hsb}{0.75002,1,1}
{\psset{fillcolor=temp}\psframe(92.47246pt,86.77719pt)(93.89511pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,64.01596pt)(130.8841pt,65.43854pt)%
}
\definecolor{temp}{hsb}{0.76669,1,1}
{\psset{fillcolor=temp}\psframe(93.89511pt,86.77719pt)(95.31776pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,65.43854pt)(130.8841pt,66.86111pt)%
}
\definecolor{temp}{hsb}{0.78336,1,1}
{\psset{fillcolor=temp}\psframe(95.31776pt,86.77719pt)(96.74042pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,66.86111pt)(130.8841pt,68.28369pt)%
}
\definecolor{temp}{hsb}{0.80003,1,1}
{\psset{fillcolor=temp}\psframe(96.74042pt,86.77719pt)(98.16307pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,68.28369pt)(130.8841pt,69.70627pt)%
}
\definecolor{temp}{hsb}{0.8167,1,1}
{\psset{fillcolor=temp}\psframe(98.16307pt,86.77719pt)(99.58572pt,99.58038pt)}%
{\psset{fillcolor=temp}\psframe(116.65756pt,69.70627pt)(130.8841pt,71.12885pt)%
}
\definecolor{temp}{hsb}{0.83337,1,1}
{\psset{fillcolor=temp}\psframe(99.58572pt,86.77719pt)(101.00838pt,99.58038pt)%
}{\psset{fillcolor=temp}\psframe(116.65756pt,71.12885pt)(130.8841pt,72.55142pt%
)}
\definecolor{temp}{hsb}{0.85004,1,1}
{\psset{fillcolor=temp}\psframe(101.00838pt,86.77719pt)(102.43103pt,99.58038pt%
)}{\psset{fillcolor=temp}\psframe(116.65756pt,72.55142pt)(130.8841pt,73.974pt)%
}
\definecolor{temp}{hsb}{0.86671,1,1}
{\psset{fillcolor=temp}\psframe(102.43103pt,86.77719pt)(103.85368pt,99.58038pt%
)}{\psset{fillcolor=temp}\psframe(116.65756pt,73.974pt)(130.8841pt,75.39658pt)%
}
\definecolor{temp}{hsb}{0.88338,1,1}
{\psset{fillcolor=temp}\psframe(103.85368pt,86.77719pt)(105.27634pt,99.58038pt%
)}{\psset{fillcolor=temp}\psframe(116.65756pt,75.39658pt)(130.8841pt,76.81915%
pt)}
\definecolor{temp}{hsb}{0.90005,1,1}
{\psset{fillcolor=temp}\psframe(105.27634pt,86.77719pt)(106.69899pt,99.58038pt%
)}{\psset{fillcolor=temp}\psframe(116.65756pt,76.81915pt)(130.8841pt,78.24173%
pt)}
\definecolor{temp}{hsb}{0.91672,1,1}
{\psset{fillcolor=temp}\psframe(106.69899pt,86.77719pt)(108.12164pt,99.58038pt%
)}{\psset{fillcolor=temp}\psframe(116.65756pt,78.24173pt)(130.8841pt,79.6643pt%
)}
\definecolor{temp}{hsb}{0.93339,1,1}
{\psset{fillcolor=temp}\psframe(108.12164pt,86.77719pt)(109.5443pt,99.58038pt)%
}{\psset{fillcolor=temp}\psframe(116.65756pt,79.6643pt)(130.8841pt,81.08688pt)%
}
\definecolor{temp}{hsb}{0.95006,1,1}
{\psset{fillcolor=temp}\psframe(109.5443pt,86.77719pt)(110.96695pt,99.58038pt)%
}{\psset{fillcolor=temp}\psframe(116.65756pt,81.08688pt)(130.8841pt,82.50946pt%
)}
\definecolor{temp}{hsb}{0.96673,1,1}
{\psset{fillcolor=temp}\psframe(110.96695pt,86.77719pt)(112.3896pt,99.58038pt)%
}{\psset{fillcolor=temp}\psframe(116.65756pt,82.50946pt)(130.8841pt,83.93204pt%
)}
\definecolor{temp}{hsb}{0.9834,1,1}
{\psset{fillcolor=temp}\psframe(112.3896pt,86.77719pt)(113.81226pt,99.58038pt)%
}{\psset{fillcolor=temp}\psframe(116.65756pt,83.93204pt)(130.8841pt,85.35461pt%
)}\ignorespaces}
\end{pspicture} \begin{pspicture}(-42.67914pt,-42.67914pt)(42.67914pt,42.67914pt){
{\psline{<->}(-42.67914pt,0.0pt)(42.67914pt,0.0pt)}\rput[t](36.98859pt,0.0pt){%
$+1$}
\rput[t](-36.98859pt,0.0pt){$-1$}
{\psline{<->}(0.0pt,-42.67914pt)(0.0pt,42.67914pt)}\rput[l](0.0pt,36.98859pt){%
$+\iunit$}
\rput[l](0.0pt,-36.98859pt){$-\iunit$}
}
{\psset{linestyle=none,linewidth=0.0pt,fillstyle=solid}
\definecolor{temp}{hsb}{0.0,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{0.0}{4.5}}
\definecolor{temp}{hsb}{0.00833,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{4.5}{9.0}}
\definecolor{temp}{hsb}{0.01666,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{9.0}{13.5}}
\definecolor{temp}{hsb}{0.02499,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{13.5}{18.0}}
\definecolor{temp}{hsb}{0.03332,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{18.0}{22.5}}
\definecolor{temp}{hsb}{0.04165,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{22.5}{27.0}}
\definecolor{temp}{hsb}{0.04998,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{27.0}{31.5}}
\definecolor{temp}{hsb}{0.05831,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{31.5}{36.0}}
\definecolor{temp}{hsb}{0.06664,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{36.0}{40.5}}
\definecolor{temp}{hsb}{0.07497,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{40.5}{45.0}}
\definecolor{temp}{hsb}{0.0833,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{45.0}{49.5}}
\definecolor{temp}{hsb}{0.09163,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{49.5}{54.0}}
\definecolor{temp}{hsb}{0.09996,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{54.0}{58.5}}
\definecolor{temp}{hsb}{0.10829,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{58.5}{63.0}}
\definecolor{temp}{hsb}{0.11662,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{63.0}{67.5}}
\definecolor{temp}{hsb}{0.12495,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{67.5}{72.0}}
\definecolor{temp}{hsb}{0.13328,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{72.0}{76.5}}
\definecolor{temp}{hsb}{0.14161,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{76.5}{81.0}}
\definecolor{temp}{hsb}{0.14994,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{81.0}{85.5}}
\definecolor{temp}{hsb}{0.15827,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{85.5}{90.0}}
\ignorespaces
\definecolor{temp}{hsb}{0.16667,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{90.0}{94.5}}
\definecolor{temp}{hsb}{0.18334,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{94.5}{99.0}}
\definecolor{temp}{hsb}{0.20001,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{99.0}{103.5}}
\definecolor{temp}{hsb}{0.21668,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{103.5}{108.0}}
\definecolor{temp}{hsb}{0.23335,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{108.0}{112.5}}
\definecolor{temp}{hsb}{0.25002,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{112.5}{117.0}}
\definecolor{temp}{hsb}{0.26669,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{117.0}{121.5}}
\definecolor{temp}{hsb}{0.28336,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{121.5}{126.0}}
\definecolor{temp}{hsb}{0.30003,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{126.0}{130.5}}
\definecolor{temp}{hsb}{0.3167,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{130.5}{135.0}}
\definecolor{temp}{hsb}{0.33337,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{135.0}{139.5}}
\definecolor{temp}{hsb}{0.35004,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{139.5}{144.0}}
\definecolor{temp}{hsb}{0.36671,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{144.0}{148.5}}
\definecolor{temp}{hsb}{0.38338,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{148.5}{153.0}}
\definecolor{temp}{hsb}{0.40005,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{153.0}{157.5}}
\definecolor{temp}{hsb}{0.41672,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{157.5}{162.0}}
\definecolor{temp}{hsb}{0.43339,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{162.0}{166.5}}
\definecolor{temp}{hsb}{0.45006,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{166.5}{171.0}}
\definecolor{temp}{hsb}{0.46673,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{171.0}{175.5}}
\definecolor{temp}{hsb}{0.4834,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{175.5}{180.0}}
\ignorespaces
\definecolor{temp}{hsb}{0.5,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{180.0}{184.5}}
\definecolor{temp}{hsb}{0.50833,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{184.5}{189.0}}
\definecolor{temp}{hsb}{0.51666,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{189.0}{193.5}}
\definecolor{temp}{hsb}{0.52499,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{193.5}{198.0}}
\definecolor{temp}{hsb}{0.53332,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{198.0}{202.5}}
\definecolor{temp}{hsb}{0.54165,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{202.5}{207.0}}
\definecolor{temp}{hsb}{0.54998,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{207.0}{211.5}}
\definecolor{temp}{hsb}{0.55831,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{211.5}{216.0}}
\definecolor{temp}{hsb}{0.56664,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{216.0}{220.5}}
\definecolor{temp}{hsb}{0.57497,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{220.5}{225.0}}
\definecolor{temp}{hsb}{0.5833,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{225.0}{229.5}}
\definecolor{temp}{hsb}{0.59163,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{229.5}{234.0}}
\definecolor{temp}{hsb}{0.59996,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{234.0}{238.5}}
\definecolor{temp}{hsb}{0.60829,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{238.5}{243.0}}
\definecolor{temp}{hsb}{0.61662,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{243.0}{247.5}}
\definecolor{temp}{hsb}{0.62495,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{247.5}{252.0}}
\definecolor{temp}{hsb}{0.63328,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{252.0}{256.5}}
\definecolor{temp}{hsb}{0.64161,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{256.5}{261.0}}
\definecolor{temp}{hsb}{0.64994,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{261.0}{265.5}}
\definecolor{temp}{hsb}{0.65827,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{265.5}{270.0}}
\ignorespaces
\definecolor{temp}{hsb}{0.66667,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{270.0}{274.5}}
\definecolor{temp}{hsb}{0.68334,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{274.5}{279.0}}
\definecolor{temp}{hsb}{0.70001,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{279.0}{283.5}}
\definecolor{temp}{hsb}{0.71668,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{283.5}{288.0}}
\definecolor{temp}{hsb}{0.73335,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{288.0}{292.5}}
\definecolor{temp}{hsb}{0.75002,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{292.5}{297.0}}
\definecolor{temp}{hsb}{0.76669,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{297.0}{301.5}}
\definecolor{temp}{hsb}{0.78336,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{301.5}{306.0}}
\definecolor{temp}{hsb}{0.80003,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{306.0}{310.5}}
\definecolor{temp}{hsb}{0.8167,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{310.5}{315.0}}
\definecolor{temp}{hsb}{0.83337,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{315.0}{319.5}}
\definecolor{temp}{hsb}{0.85004,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{319.5}{324.0}}
\definecolor{temp}{hsb}{0.86671,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{324.0}{328.5}}
\definecolor{temp}{hsb}{0.88338,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{328.5}{333.0}}
\definecolor{temp}{hsb}{0.90005,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{333.0}{337.5}}
\definecolor{temp}{hsb}{0.91672,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{337.5}{342.0}}
\definecolor{temp}{hsb}{0.93339,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{342.0}{346.5}}
\definecolor{temp}{hsb}{0.95006,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{346.5}{351.0}}
\definecolor{temp}{hsb}{0.96673,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{351.0}{355.5}}
\definecolor{temp}{hsb}{0.9834,1,1}
{\psset{fillcolor=temp}\pswedge(0.0pt,0.0pt){28.45276pt}{355.5}{360.0}}
\ignorespaces}
\end{pspicture}
Figure 3: Continuous phase mapping

Specifically, by scaling the phase angle in [0,2π) to q in the interval [0,4), the hue (in degrees) is computed as

hue=60{qif 0q<12q1if 1q<2q+1if 2q<32(q1)if 3q<4