RunMat
GitHub

View all functions

CategoryPlotting
GPUYes

surfc — Render a shaded surface with contour lines on the base plane.

surfc(X, Y, Z) draws a shaded surface and overlays contour lines projected onto the XY plane. RunMat reuses the same surface renderer as surf and complements it with GPU-generated iso-lines.

GPU behavior

Single-precision gpuArrays stream directly into the shared WebGPU renderer.

Double-precision data falls back to the CPU path until SHADER_F64 is available.

Source & Feedback