Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.4.1 - Русский

Change language to:
English - Français - 日本語 - Português -

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Графики > Color management > hsvcolormap

hsvcolormap

Hue-saturation-value colormap

Calling Sequence

cmap = hsvcolormap(n)

Arguments

n

integer >= 1, the colormap size.

cmap

matrix with 3 columns [R,G,B].

Description

hsvcolormap computes a colormap with ncolors. This colormap varies the hue component of the hsv color model. The colors begin with red, pass through yellow, green, cyan, blue, magenta, and return to red. The map is particularly useful for displaying periodic functions.

Examples

t=[0:0.1:2*%pi]'; z=sin(t)*cos(t'); 
f=gcf();f.color_map=hsvcolormap(64);
plot3d1(t,t,z,35,45,"X@Y@Z",[-2,2,2])

See Also

Report an issue
<< hsv2rgb Color management jetcolormap >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Apr 02 17:37:57 CEST 2013