Getting Started with IDL: Plotting Irregularly Gridded Data |
Now that we have the triangulation TR, the TRIGRID function can be used to return a regular grid of interpolated Z values.
SURFACE,TRIGRID(X,Y,Z,TR) XYOUTS,.5,.9,'Linear Interpolation',ALIGN=.5,/NORMAL
|
The TRIGRID function can also return a smoothed interpolation. Set the QUINTIC keyword to use a quintic polynomial method when interpolating the grid.
IDL Online Help (March 06, 2007)