Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
6 lines (3 sloc) 0.475 kb

Contour Plots


Computes a contour for a given grid function using the marching squares algorithm. Returns the contour polygon as an array of points. The grid function takes two arguments, x and y, and returns true if the specified point is inside the contour, and false for points outside the contour. The contour plugin can also take an optional starting point [x, y] on the grid.

Jump to Line
Something went wrong with that request. Please try again.