How plot gridded data with interpolation

Hi GMT users,

I have a grided data stored in a text file as [longitude, latitude, data]. I would like to plot it with interpolation.

Thanks in advance.

As far as I know:

  1. If you just want to project and plot that data onto a regular interval grid, you can just convert xyz2grd and use grdimage it will do the interpolation for you using -n option at the required nodes and plot it.
  2. If you are interested in the data interpolation and you want to know what data is at some specific point or node, you can use greenspline module, the nearneighbour module or the surface module or the triangulation module . Greenspline does it for you using various interpolation techniques which can be controlled by given options in the module and nearneighbour uses nearest neighbour technique. All these modules help in data interpolation or gridding of data through interpolation using different techniques or depending on input which can be either table or a gridfile.
    Hope it helps.