contourf — Render MATLAB-compatible filled contour plots.
contourf(X, Y, Z) fills the regions between contour levels with solid colors. When the axes are omitted, RunMat assumes 1:m and 1:n just like MATLAB. The default level count matches MATLAB's behaviour (10).
GPU behavior
Single/double-precision gpuArrays feed a compute shader that emits renderer-ready triangles on the shared WebGPU device.
When GPU support is unavailable, tensors gather to host memory and rendering proceeds on the CPU path with identical results.
Source & Feedback
- Source code: `crates/runmat-runtime/src/builtins/plotting/ops/contourf.rs`
- Found a bug? Open an issue with a minimal reproduction.