summaryrefslogtreecommitdiff
path: root/graphics/asymptote/doc/onecontour.asy
blob: 0d7f247fd39d7dce64cbdc198131ecf1828fa005 (plain)
1
2
3
4
5
import contour;
size(75);

real f(real a, real b) {return a^2+b^2;}
draw(contour(f,(-1,-1),(1,1),new real[] {1}));