comparison scripts/image/hsv.m @ 8543:fda06702bf71

hsv.m: doc fix
author John W. Eaton <jwe@octave.org>
date Tue, 20 Jan 2009 10:57:18 -0500
parents a1dbe9d80eee
children eb63fbe60fab
comparison
equal deleted inserted replaced
8542:ef2dfe33e5b5 8543:fda06702bf71
16 ## along with Octave; see the file COPYING. If not, see 16 ## along with Octave; see the file COPYING. If not, see
17 ## <http://www.gnu.org/licenses/>. 17 ## <http://www.gnu.org/licenses/>.
18 18
19 ## -*- texinfo -*- 19 ## -*- texinfo -*-
20 ## @deftypefn {Function File} {} hsv (@var{n}) 20 ## @deftypefn {Function File} {} hsv (@var{n})
21 ## Create color colormap. This colormap is red through yellow, green, cyan, 21 ## Create color colormap. This colormap is red through yellow, green,
22 ## blue, magenta to red. The argument @var{n} should be a scalar. If it 22 ## cyan, blue, magenta to red. It is obtained by linearly varying the
23 ## is omitted, the length of the current colormap or 64 is assumed. 23 ## hue through all possible values while keeping constant maximum
24 ## saturation and value and is equivalent to
25 ## @code{hsv2rgb ([linspace(0,1,N)', ones(N,2)])}.
26 ##
27 ## The argument @var{n} should be a scalar. If it is omitted, the
28 ## length of the current colormap or 64 is assumed.
24 ## @seealso{colormap} 29 ## @seealso{colormap}
25 ## @end deftypefn 30 ## @end deftypefn
26 31
27 ## Author: Kai Habel <kai.habel@gmx.de> 32 ## Author: Kai Habel <kai.habel@gmx.de>
28 33