# How can I make ContourPlot3D sample better in order to show this region more clearly?

I want to show a three-dimensional region that is defined as a level set of a function.

sigma2[x1_, x2_] := -Log[x1] - Log[x2]

ContourPlot3D[ sigma2[(1/2 - a/Sqrt + b/Sqrt + c/(2 Sqrt))/(1/2 - (Sqrt c)/2),
(1/2 - Sqrt[2/3] b + c/(2 Sqrt))/(1/2 - (Sqrt c)/2)]
== (1/2 + a/Sqrt + b/Sqrt + c/(2 Sqrt))/(1/2 - (Sqrt c)/2),
{a, -2, 1}, {b, -2, 1.5}, {c, -.5, 1}, ContourStyle -> None]


but it looks terrible. I have

Contourstyle->None


because I'll deal with making it look pretty later. Here's the result of that input I believe the issue is that the function varies a lot over there on the right. That's the part I'm most interested in seeing, though. I've tried playing with both the MaximumRecursion and PlotPoints options. Allowing lots of recursion doesn't seem to do what I want, because I get some garbage inside of the region which I don't want. Increasing PlotPoints will improve the situation incrementally, but I think it would just take way too many points to run in a realistic time in order to show the region properly.

I think what I want is to convince Mathematica to sample more where I need it, and not more where I don't. I see there is an option called "Methods" but I don't know what other methods are available.

Any thoughts? Willing to give more background on where the region came from if necessary. It is the result of a projective transformation performed on the graph of the function sigma.

• Have you tried increasing PlotPoints and MaxRecursion? Apr 2, 2018 at 23:27
• I don't get your plot in V11.3. It's not perfect, but someone might think it's passable. Apr 3, 2018 at 0:15

On Mathematica 11.2 (Linux), the following gives a nice surface, without changing PlotPoints and MaxRecursion:
sigma2[x1_, x2_] := -Log[x1] - Log[x2]