"The map is obtained by linearly varying the hue through all possible values while keeping constant maximum saturation and value." [1]
set palette model HSV functions gray,1,1
set terminal png
set output 'p.png'
test palette
set palette model HSV defined ( 0 0 1 1, 1 1 1 1 )
set palette model HSV
set palette rgbformulae 3,2,2
test palette
show palette
palette is COLOR
color mapping by defined gradient
figure is POSITIVE
all color formulae ARE NOT written into output postscript file
allocating ALL remaining color positions for discrete palette terminals
Color-Model: HSV
gamma is 1.5
show palette gradient
0. gray=0.0000, (r,g,b)=(0.0000,1.0000,1.0000), #00ffff = 0 255 255
1. gray=1.0000, (r,g,b)=(1.0000,1.0000,1.0000), #ffffff = 255 255 255
## https://octave.sourceforge.io/octave/function/hsv.html
## Show the 'hsv' colormap profile and as an image
cmap = hsv (256);
subplot (2, 1, 1);
rgbplot (cmap, "composite");
subplot (2, 1, 2);
rgbplot (cmap);