File Exchange

image thumbnail


version (2.99 KB) by Will Robertson
Surf plot scattered data with interpolation


Updated 07 Jun 2015

View License

Matlab provides triplot that uses Delaunay Triangulation to plot surfaces from scattered data. Matlab also provides scatteredInterpolant to interpolate from scattered data onto a regular grid, but sometimes all you want is to interpolate within the scattered data you already have.
This function uses Delaunay Triangulation to interpolate within scattered data and plot the results. (Scattered data is any data in X, Y, and Z vector form, and that doesn't need uniform spacing on an XY grid.) This function is useful whenever you have coarse data for which a coloured surface plot shows artifacts, even with interpolated shading. The example file demonstrates a few examples of the intended use of this function.

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.

Learn About Live Editor