File: pm3dgamma.dem

package info (click to toggle)
gnuplot 6.0.2%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 14,940 kB
  • sloc: ansic: 95,319; cpp: 7,590; makefile: 2,470; javascript: 2,328; sh: 1,531; lisp: 664; perl: 304; pascal: 191; tcl: 88; python: 46
file content (39 lines) | stat: -rw-r--r-- 585 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Test of gamma correction for gray palettes

set palette gray
set view map
unset colorbox
set style function pm3d
set cbrange [-10:10]
set xrange [-10:10]
set yrange [*:*]
unset ztics
unset ytics
unset xtics
set samples 101
set isosamples 2

set multiplot layout 4, 1

set palette gamma 0.75
set title "gamma = 0.75"
splot x

set palette gamma 1.0
set title "gamma = 1.0"
splot x

set palette gamma 1.5
set title "gamma = 1.5 (default)"
splot x

set xtics 2 offset 0, -1
set palette gamma 2.0
set title "gamma = 2.0"
splot x

unset multiplot

pause -1 "Hit return to continue"
reset