If the x, y, and z data are matrices (the preferred form) then the data is simply plotted as given, using the given points. If the x, y, and z data are vectors (to be avoided if at all possible) then Mathcad does an interpolation onto a regular grid. The form of this interpolation is not documented, and I don't know what it is.