Back to demo index

gnuplot demo script: pm3dgamma.dem

autogenerated by webify.pl on Sat Mar 11 15:39:06 2023
gnuplot version gnuplot 5.4 patchlevel 7alpha
# 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

Click here for minimal script to generate this plot





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

Click here for minimal script to generate this plot





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

Click here for minimal script to generate this plot





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

Click here for minimal script to generate this plot





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

Click here for minimal script to generate this plot





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

Click here for minimal script to generate this plot