File:Gnuplot HSV gradient.png
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Gnuplot_HSV_gradient.png (640 × 480 pixels, file size: 43 KB, MIME type: image/png)
File information
Structured data
Captions
This image could be re-created using vector graphics as an SVG file. This has several advantages; see Commons:Media for cleanup for more information. If an SVG form of this image is available, please upload it and afterwards replace this template with
{{vector version available|new image name}} .
It is recommended to name the SVG file “Gnuplot HSV gradient.svg”—then the template Vector version available (or Vva) does not need the new image name parameter. |
Summary[edit]
DescriptionGnuplot HSV gradient.png |
English: 2D RGB profile of the rainbow color gradient ( gnuplot HSV gradient) |
Date | |
Source | Own work |
Author | Adam majewski |
Other versions |
|
Licensing[edit]
I, the copyright holder of this work, hereby publish it under the following license:
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
Gnuplot source code[edit]
"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[edit]
## 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);
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 19:50, 3 January 2019 | 640 × 480 (43 KB) | Soul windsurfer (talk | contribs) | User created page with UploadWizard |
You cannot overwrite this file.
File usage on Commons
The following 8 pages use this file:
- File:0 3d 60 75 v.png
- File:Cubehelix gnuplot palette.png
- File:Gnuplot color gradient, defined as 0 0 0 0, 1 0 0 1, 3 0 1 0, 4 1 0 0, 6 1 1 1.png
- File:Gnuplot color gradient RGB defined ( 0 "red", 0.5 "yellow", 1 "green" ).png
- File:Gnuplot linear gray gradient.png
- File:HSV-RGB-comparison.svg
- File:HSV 2D profile of the rainbow gradient.png
- File:Matlab gradient.png
File usage on other wikis
The following other wikis use this file:
- Usage on en.wikipedia.org
- Usage on en.wikibooks.org
- Usage on ja.wikipedia.org
- Usage on pt.wikipedia.org
- Usage on zh.wikipedia.org