Improve quality in 3d plots with pgfplots package

54 Views Asked by At

I tried the following code

\begin{axis}[
    hide axis,
    colormap/cool,
]
\addplot3[
    surf,
    samples=101,
    domain=-1.1:0.5,
]
{sqrt(x^2+x^3-y^2)};
\end{axis}
\end{tikzpicture}

But the quality I get is terrible:output.

It should look more like the following image divided by half: desired output.

I also tried using mesh instead of surf but it didn't work either.

0

There are 0 best solutions below