File:Gnuplot HSV gradient.png
来自testwiki
跳转到导航
跳转到搜索
Gnuplot_HSV_gradient.png (640 × 480像素,文件大小:43 KB,MIME类型:image/png)
本文件来自维基共享资源并可能被其他项目使用。 其文件描述页上的描述显示在下面。
此图片可使用矢量图形重新创建为SVG文件。这具有很多好处;更多信息请参见共享资源:待清理媒体。如果存在此图片的SVG格式,请将其上传,然后将此模板替换为
{{vector version available|新图片名称}}。
建议您将SVG命名为“Gnuplot HSV gradient.svg”,这样在使用Vector version available(或Vva)模板时就不需要填写新图片名称参数。 |
摘要
| 描述Gnuplot HSV gradient.png |
English: 2D RGB profile of the rainbow color gradient ( gnuplot HSV gradient) |
| 日期 | |
| 来源 | 自己的作品 |
| 作者 | Adam majewski |
| 其他版本 |
|
许可协议
我,本作品著作权人,特此采用以下许可协议发表本作品:
本文件采用知识共享署名-相同方式共享 4.0 国际许可协议授权。
- 您可以自由地:
- 共享 – 复制、发行并传播本作品
- 修改 – 改编作品
- 惟须遵守下列条件:
- 署名 – 您必须对作品进行署名,提供授权条款的链接,并说明是否对原始内容进行了更改。您可以用任何合理的方式来署名,但不得以任何方式表明许可人认可您或您的使用。
- 相同方式共享 – 如果您再混合、转换或者基于本作品进行创作,您必须以与原先许可协议相同或相兼容的许可协议分发您贡献的作品。
Gnuplot source code
"The map is obtained by linearly varying the hue through all possible values while keeping constant maximum saturation and value." [1]
set palette model HSV functions gray,1,1
set terminal png
set output 'p.png'
test palette
or
set palette model HSV defined ( 0 0 1 1, 1 1 1 1 )
or
set palette model HSV
set palette rgbformulae 3,2,2
test palette
where:
- 3 = x
- 2 = 1
Test:
show palette
palette is COLOR
color mapping by defined gradient
figure is POSITIVE
all color formulae ARE NOT written into output postscript file
allocating ALL remaining color positions for discrete palette terminals
Color-Model: HSV
gamma is 1.5
show palette gradient
0. gray=0.0000, (r,g,b)=(0.0000,1.0000,1.0000), #00ffff = 0 255 255
1. gray=1.0000, (r,g,b)=(1.0000,1.0000,1.0000), #ffffff = 255 255 255
Octave src code
## https://octave.sourceforge.io/octave/function/hsv.html
## Show the 'hsv' colormap profile and as an image
cmap = hsv (256);
subplot (2, 1, 1);
rgbplot (cmap, "composite");
subplot (2, 1, 2);
rgbplot (cmap);
说明
添加一行文字以描述该文件所表现的内容
此文件中描述的项目
描繪內容
某些值没有维基数据项目
3 1 2019
image/png
文件历史
点击某个日期/时间查看对应时刻的文件。
| 日期/时间 | 缩略图 | 大小 | 用户 | 备注 | |
|---|---|---|---|---|---|
| 当前 | 2019年1月3日 (四) 20:50 | 640 × 480(43 KB) | wikimediacommons>Soul windsurfer | User created page with UploadWizard |
文件用途
以下页面使用本文件:
