concept standard rainbow in category gnuplot

This is an excerpt from Manning's book Gnuplot in Action.
Two palettes are particularly suitable to demonstrate the various features of the set palette command: the linear grayscale and the standard rainbow (panels A and B, respectively, in figure D.4). Here are four equivalent ways of creating a linear grayscale palette, using all combinations of the RGB and HSV color model together with either the defined or the functions feature:
set palette defined ( 0 "black", 1 "white" ) set palette functions gray, gray, gray set palette model HSV defined ( 0 0 0 0, 1 0 0 1 ) set palette model HSV functions 0, 0, grayThe standard rainbow only makes sense to define in HSV space. Here are two ways, using nodes and functions, respectively:
set palette model HSV defined ( 0 0 1 1, 1 1 1 1 ) set palette model HSV functions gray, 1, 1Neither of these two palettes works particularly well in practice. The standard rainbow doesn’t convey an intuitive sense of ordering; it wraps around (so that the highest and the smallest values are assigned similar colors); and its garish colors don’t aid perception. Graphs drawn using a simple grayscale are dominated by shades of black and white, which are harder to distinguish than shades of darker and lighter grays. Moreover, a grayscale isn’t in color!