Home > freetb4matlab > image > hsv.m

hsv

PURPOSE ^

% Create color colormap. This colormap is red through yellow, green,

SYNOPSIS ^

function map = hsv (number)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} hsv (@var{n})
% Create color colormap.  This colormap is red through yellow, green,
% cyan, blue, magenta to red.  It is obtained by linearly varying the
% hue through all possible values while keeping constant maximum
% saturation and value and is equivalent to
% @code{hsv2rgb ([linspace(0,1,N)', ones(N,2)])}.
%
% The argument @var{n} should be a scalar.  If it is omitted, the
% length of the current colormap or 64 is assumed.
% @seealso{colormap}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003