meshc — Render a wireframe surface with contour lines projected onto the base plane.
meshc(X, Y, Z) draws a wireframe mesh and overlays contour lines on the XY plane.
How meshc runs on the GPU
Single-precision gpuArrays stream directly into the shared WebGPU renderer.
Double precision falls back to host gathers until SHADER_F64 is available.
Related functions to explore
These functions work well alongside meshc. Each page has runnable examples you can try in the browser.
bar, contour, contourf, hist, mesh, plot, scatter, scatter3, stairs, surf, surfc
Open-source implementation
Unlike proprietary runtimes, every RunMat function is open-source. Read exactly how meshc works, line by line, in Rust.
- View meshc.rs on GitHub
- Learn how the runtime works
- Found a bug? Open an issue with a minimal reproduction.
About RunMat
RunMat is an open-source runtime that executes MATLAB-syntax code — faster, on any GPU, with no license required.
- Simulations that took hours now take minutes. RunMat automatically optimizes your math for GPU execution on Apple, Nvidia, and AMD hardware. No code changes needed.
- Start running code in seconds. Open the browser sandbox or download a single binary. No license server, no IT ticket, no setup.
- A full development environment. GPU-accelerated 2D and 3D plotting, automatic versioning on every save, and a browser IDE you can share with a link.