|
本圖片是以PNG、GIF或JPEG格式上傳。然而,其中包含的資料或訊息,應該重新建立成 可縮放向量圖形( SVG)檔案,以更有效率或更準確的方式儲存。如有可能,請上傳本圖片的SVG格式版本。在上傳之後,請修改維基各姊妹計畫中所有使用舊版圖片的條目(列在 圖像連結章節中),替換為新版圖片,並在舊圖片的描述頁中加入 {{Vector version available|新圖片名稱.svg}}模板,同時移除本模板。
|
摘要
授權條款
我,本作品的著作權持有者,決定用以下授權條款發佈本作品:
- 您可以自由:
- 分享 – 複製、發佈和傳播本作品
- 重新修改 – 創作演繹作品
- 惟需遵照下列條件:
- 姓名標示 – 您必須指名出正確的製作者,和提供授權條款的連結,以及表示是否有對內容上做出變更。您可以用任何合理的方式來行動,但不得以任何方式表明授權條款是對您許可或是由您所使用。
- 相同方式分享 – 若要根據本素材進行再混合、轉換或創作,則必須以與原作相同或相容的授權來發布您的作品。
https://creativecommons.org/licenses/by-sa/4.0CC BY-SA 4.0 Creative Commons Attribution-Share Alike 4.0 truetrue
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:
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);
- ↑ octave function hsv