File:Gnuplot linear gray gradient.png
Summary
| Description |
English: Gnuplot linear gray gradient |
| Date | |
| Source | Own work |
| Author | Adam majewski |
| Other versions |
|
| PNG development |
Gnuplot source code
set output "gray.png"
set palette defined (0 1 1 1, 1 0 0 0) # from white to black
test palette
or using inverted linear gradient
set output "gray.png"
set palette rgbformulae -3,-3,-3 # 1-x, 1-x, 1-x
test palette
or
set palette functions gray,gray,gray negative
or
set palette gray gamma 1.0 negative
Licensing
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.