# spinmap

## Purpose

Spin colormap.

## Synopsis

    spinmap
    spinmap(t)
    spinmap(t,inc)
    spinmap(inf)

## Description

`spinmap` cyclically rotates the colormap for about five seconds.

`spinmap(t)` rotates it for about `t` seconds.

`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, and so on.

`spinmap(inf)` is an infinite loop. To break the loop, press Ctrl-C.

## See Also

    colormap

(c) Copyright 1994 by The MathWorks, Inc.