Is there any subroutine in MATLAB that takes a list of points and returns me a nice grid that I can use to show my colleagues, for example, this?

In fact, all I need is just a simple 2D mesh generator that takes a series of X, Y coordinates (which defines the boundary of the region) and returns me a list of elements that can display this region well. I can do the rest using the MATLAB command to interpolate the Z value.
Edit: I'm not interested in using MATLAB to create the above plot. I am interested in using the MATLAB library to get a list of elements, so when I create this element myself (not MATLAB itself, but in my own C # program), I can get this mesh surface.
PS: I know this is DistMesh , but I'm looking for something simpler - maybe something built right into MATLAB. And no, meshgrid is not grid generation.
source
share