map – Gnuplot heatmap XYZ

map – Gnuplot heatmap XYZ

set pm3d interpolate 2,2
splot file

You can adjust level of interpolation by changing the number or even set it as 0 to tell gnuplot to guess it. It is not well documented what interpolation method that gnuplot is using, so be careful.

set pm3d interpolate 0,0
splot file

Heres the result without interpolation:

no

Heres the result with interpolation 2,2:

set

Heres the result with interpolation 0,0:

set

Use the pm3d option:

set pm3d
splot file

map – Gnuplot heatmap XYZ

Leave a Reply

Your email address will not be published.