Generates a colormap of green to yellow.
SUMMER(len)
len |
- |
Optional. An integer, the colormap length. Defaults to the length of the current colormap. |
A table of RGB triples suitable for the SETCOLORMAP function.
clen = length(getcolormap());
W1: density(ravel(rep(0..(clen-1), 32), clen)');summer

creates a table of 32 x N (where N == colormap length) RBG values and displays the resulting colors. The resulting image is a vertical plot of colors ranging from green (lowest) to yellow.
W1: autumn;showcmap();
W2: spring;showcmap();
W3: summer;showcmap()
W4: winter;showcmap();

W1, W2, W3 and W4 display 32x256 sequential colormaps related to the four seasons where 256 is the colormap length.
summer by itself sets the colormap and shading.
a = summer or setcolormap(summer) returns the RGB values. In this case, use SETSHADING to make the new colormap take effect on an existing density or 2D plot.
The SUMMER colormap produces a smooth gradient that runs from green to yellow, giving plots a light, warm, summery appearance.