Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Good day,

Does anybody know where I could find a recursive contour plotting algorithm which is compliant with breaks and discontinues in the objective function? Recursive subdivision should be done only in those places where more sample points are needed to get a plot with smooth contours.

share|cite|improve this question
How is the objective function given? As an expression? As a black box? As data values on a grid? – lhf Mar 15 '11 at 21:27

I would suggest looking into Jeff Tupper's successive refinement scheme, which does a pretty good job (the best that can be done with inexact arithmetic). This is the very method he used for his program GrafEq.

share|cite|improve this answer
For those without ACM access, that paper is available on Tupper's website here. – ShreevatsaR Apr 16 '11 at 2:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.