Change language to:
English - Français - Português - Русский

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

Scilabヘルプ >> Graphics > Color management > hsv2rgb

# hsv2rgb

HSV カラーを RGBに変換する

### 呼び出し手順

```[r,g,b] = hsv2rgb(h,s,v)

rgb = hsv2rgb(h,s,v)

[r,g,b] = hsv2rgb(hsv)

rgb = hsv2rgb(hsv)```

### 引数

h

s

v

hsv

n x 3行列. 各行には [hue saturation value] の組が含まれます.

r

g

b

rgb

n x 3 行列. 各行には [red green blue] の組が含まれます.

### 例

```t=[0:0.3:2*%pi]'; z=sin(t)*cos(t');

plot3d1(t,t,z)

f=gcf();

for h=0:0.1:1

hsv=[h*ones(32,1) linspace(0,1,32)' 0.7*ones(32,1)];

f.color_map=hsv2rgb(hsv);

xpause(10000)

end

for v=0:0.1:1

hsv=[ones(32,1) linspace(0,1,32)' v*ones(32,1)];

f.color_map=hsv2rgb(hsv);

xpause(10000)

end```
 Report an issue << hotcolormap Color management hsvcolormap >>

 Copyright (c) 2022-2024 (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:Thu Oct 02 13:58:25 CEST 2014