Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3853752
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T17:31:03+00:00 2026-05-19T17:31:03+00:00

Thanks to this excellent analysis of the Plot algorithm by Yaroslav Bulatov, I now

  • 0

Thanks to this excellent analysis of the Plot algorithm by Yaroslav Bulatov, I now understand the reason why Plot3D and ContourPlot fail to draw smoothly functions with breaks and discontinuities.

For example, in the following case ContourPlot fails to draw contour x^2 + y^2 = 1 at all:

ContourPlot[Abs[x^2 + y^2 - 1], {x, -1, 1}, {y, -1, 1}, Contours -> {0}]

It is because the algorithm does not go deeply into the region near x^2 + y^2 = 1. It “drops” this region on an initial stage and does not try to investigate it further. Increasing MaxRecursion does nothing in this sense. And even undocumented option Method -> {Refinement -> {ControlValue -> .01 \[Degree]}} does not help (but makes Plot3D a little bit smoother).

The above function is just a simple example. In real life I’m working with very complicated implicit functions that cannot be solved analytically.

Is there a way to get ContourPlot to go deeply into such regions near breaks and discontinuities?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T17:31:04+00:00Added an answer on May 19, 2026 at 5:31 pm

    These are the standard Plots .

    enter image description here

    enter image description here

    And the Contour at 10^-20

    enter image description here

    They are pretty clear for me.

    Do you expect something more accurate?

    Edit

    If you want to use the Contours->{0} Option, you may use:

    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I understand the problem that OSGI solved thanks to this question.... What does OSGi
Thanks to this excellent tutorial , I know how to read a string (in
I asked this question and got an excellent answer (thanks!). Part of the problem
thanks in advance for this excellent source of help. I've been reading a lot
Thanks to this question (click me!) , I have the Source property of my
thanks to this answer I was able to determine if Server is listening on
Thanks to this site and a few others, I've created some simple code to
I figured out how to pass a String value between activites thanks to this
I have this regex thanks to another wonderful StackOverflow user /(?:-\d+)*/g I want it
Thanks to the answer on this stackoverflow question I was able to get the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.