0
$\begingroup$

I have a smooth function which near one point has a very rapid change, a peak with a very very narrow width!

enter image description here

That if I plot the blank region with a function like r= -18.5+20.6 Tanh(u) at r->2

enter image description here

I want to actually, increase the resolution of the first ContourPlot maybe just locally (as r->2) so I can have the whole graph in one plot and show the behavior of my function in one clean plot. So far I tried increasing the PlotPoints, using MaxRecursion and everything that is explained here: Resolution problem of ContourPlot Question, and yet no luck! Any idea please?

$\endgroup$
  • $\begingroup$ PlotPoints->00`? $\endgroup$ – David G. Stork Apr 20 '17 at 17:11
  • $\begingroup$ PlotPontis->00? I never heard of, you mean instead of 100 I should go with 00? I just tried it and it says "Value of option PlotPoints -> 0 is not an integer >= 2" $\endgroup$ – ShS Apr 20 '17 at 17:16
  • 1
    $\begingroup$ Try adding Exclusions->None $\endgroup$ – Carl Woll Apr 20 '17 at 17:18
  • $\begingroup$ @CarlWoll you are a life saver, thanks! it worked perfectly $\endgroup$ – ShS Apr 20 '17 at 17:22
  • $\begingroup$ Typo above: PlotPoints->100. $\endgroup$ – David G. Stork Apr 20 '17 at 17:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.