gnuplot splot approximation or interpolation? -
i'm rendering heat map using gnuplot splot pm3d using next script
set view map set dgrid3d set pm3d interpolate 20,20 set palette defined(\ 0 '#00dc00',\ 3640 '#00ff00',\ 32767 '#c8ff00',\ 61894 '#ff8000',\ 65535 '#ff7000') splot "d:/source.dat" using 1:2:3 pm3d
"source.dat" file contains next values
0 0 36 1 0 36 2 0 36 0 1 36 1 1 36 2 1 36 0 2 36 1 2 36.9 2 2 36
gnuplot produced next image
but i'm not understand why have red color in top center point equals 36.6 temperature according pallete. in data file have 36.9 instead of that. seems me gnuplot approximated value. how configure in interpolate points?
Comments
Post a Comment