Spin the colormap.
SPINMAP cyclically rotates the color map for about 3 seconds.
SPINMAP(T) rotates it for about T seconds.
SPINMAP(inf) is an infinite loop, break with <ctrl-C>.
SPINMAP(T,inc) uses the specified increment. The default is
inc = 2, so inc = 1 is a slower rotation, inc = 3 is faster,
inc = -2 is the other direction, etc.
To avoid multiple redraws, set(gcf,'sharecolors','no').
See also COLORMAP , RGBPLOT .