File:Matlab gradient.png
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Matlab_gradient.png (640 × 480 pixels, file size: 42 KB, MIME type: image/png)
File information
Structured data
Captions
Summary[edit]
DescriptionMatlab gradient.png |
English: Matlab color gradient made with gnuplot |
Date | |
Source | Own work |
Author | Adam majewski |
Other versions |
|
Gnuplot source code[edit]
set terminal png
set output "matlab.png"
# Approximate the default palette used by MATLAB:
set pal defined (1 '#00008f', 8 '#0000ff', 24 '#00ffff', 40 '#ffff00', 56 '#ff0000', 64 '#800000')
test palette
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: RGB
gamma is 1.5
show palette gradient
0. gray=0.0000, (r,g,b)=(0.0000,0.0000,0.5608), #00008f = 0 0 143
1. gray=0.1111, (r,g,b)=(0.0000,0.0000,1.0000), #0000ff = 0 0 255
2. gray=0.3651, (r,g,b)=(0.0000,1.0000,1.0000), #00ffff = 0 255 255
3. gray=0.6190, (r,g,b)=(1.0000,1.0000,0.0000), #ffff00 = 255 255 0
4. gray=0.8730, (r,g,b)=(1.0000,0.0000,0.0000), #ff0000 = 255 0 0
5. gray=1.0000, (r,g,b)=(0.5020,0.0000,0.0000), #800000 = 128 0 0
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.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 21:13, 10 January 2020 | 640 × 480 (42 KB) | Soul windsurfer (talk | contribs) | User created page with UploadWizard |
You cannot overwrite this file.
File usage on Commons
The following 3 pages use this file:
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 pl.wikibooks.org
- Usage on pt.wikipedia.org
- Usage on zh.wikipedia.org