Matlab_gradient.png


Summary

Description
English: Matlab color gradient made with gnuplot
Date
Source Own work
Author Adam majewski
Other versions

Gnuplot source code

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

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
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.

Captions

Matlab color gradient

Items portrayed in this file

depicts

10 January 2020

image/png