RunMat
GitHub

View all functions

CategoryPlotting

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

  • X and Y are axis vectors; Z must contain length(X) * length(Y) values in column-major order.
  • Surfaces default to a Turbo colormap with wireframe = true and faceted shading.
  • Single-precision gpuArray height maps stream directly into the shared WebGPU renderer; other inputs gather automatically.