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 53 54
|
#
# $Id: pm3dgamma.dem,v 1.2 2003/10/17 15:02:21 mikulik Exp $
#
# Test of gamma correction for gray palettes
set pm3d; set palette
set palette gray
set pm3d map
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
|