What does mesh do?
mesh(X, Y, Z) draws a wireframe surface. RunMat reuses the SurfacePlot renderer with wireframe
mode enabled and no fill, matching MATLAB's default mesh aesthetics.
Behaviour highlights
XandYare axis vectors;Zmust containlength(X) * length(Y)values in column-major order.- Surfaces default to a Turbo colormap with
wireframe = trueand faceted shading. - Single-precision gpuArray height maps stream directly into the shared WebGPU renderer; other inputs gather automatically.