View all functions

CategoryPlotting

What does contourf do?

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 behaviour

  • 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.