File: pm3dgamma.dem

package info (click to toggle)
gnuplot 5.4.1%2Bdfsg1-1%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 13,316 kB
  • sloc: ansic: 85,877; cpp: 7,440; makefile: 2,548; javascript: 2,322; sh: 1,542; lisp: 667; perl: 304; pascal: 191; tcl: 88; python: 46
file content (52 lines) | stat: -rw-r--r-- 803 bytes parent folder | download | duplicates (2)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
# Test of gamma correction for gray palettes

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

set palette gamma 0.75
set title "gamma = 0.75"
splot x
pause -1 "Hit return to continue"


set palette gamma 1.0
set title "gamma = 1.0"
splot x
pause -1 "Hit return to continue"


set palette gamma 1.25 
set title "gamma = 1.25"
splot x
pause -1 "Hit return to continue"


set palette gamma 1.5
set title "gamma = 1.5"
splot x
pause -1 "Hit return to continue"


set palette gamma 1.75
set title "gamma = 1.75"
splot x
pause -1 "Hit return to continue"


set palette gamma 2.0
set title "gamma = 2.0"
splot x
pause -1 "Hit return to continue"

reset