ColorSpread:

Path: Common/Graphics

% Produce a set of 3-element RGB colors that spread across the colormap.
 If a map is not specified it will grab and default figure color map.
--------------------------------------------------------------------------
   Form:
   colors = ColorSpread( n, map )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   n             (1,1)    Number of colors to produce
   map           (:,3)    Colormap, optional

   -------
   Outputs
   -------
   colors        (n,3)    n rows of colors

--------------------------------------------------------------------------
   See also AssignColors
--------------------------------------------------------------------------

Children:

Common: Graphics/NewFig

Back to the Common Module page