Dennis
Dennis

Reputation: 441

gnuplot pm3d scatter plot - How to remove data points and interpolate

I have data representing an electric field spread evenly over a 2d lattice. I am looking to have a 3d plot of the results, generated using 'set pm3d' but without the data points themselves being plotted, and possibly to interpolate between the lattice points. How can I achieve this?

Upvotes: 1

Views: 3195

Answers (1)

Christoph
Christoph

Reputation: 48390

To get interpolation between the grid points, use the interpolate option:

set pm3d interpolate 2,2
splot 'test.dat' with pm3d

Upvotes: 2

Related Questions