I know there are some other mexican hat questions here, but none of the answers seems complete to me. I would like to draw the following figure with TikZ with similar axis and labeling. How can one do that?
My minimal example goes like
\documentclass[border=5mm]{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[ axis lines=center, axis on top = false,
view={140}{15},axis equal,title={The Mexican hat potential},
colormap={blackwhite}{gray(0cm)=(1); gray(1cm)=(0)},
samples=30,
domain=0:360,
y domain=0:1.25,
zmin=0,
zmax=0.9,
xlabel=$\phi_{Im}$,
ylabel=$\phi_{Re}$,
zlabel=$V$,
yticklabels={,,},
xticklabels={,,},
zticklabels={,,}
]
\addplot3 [surf, shader=flat, draw=black, fill=white, z buffer=sort] ({sin(x)*y}, {cos(x)*y}, {(y^2-1)^2});
\end{axis}
\end{tikzpicture}
\end{document}
The output of which (see below) I don't like because I want a right handed coordinate system with z-axis pointing up and the x-axis pointing out of the screen as in the attached figure. If the dashes are too hard to implement I can do without them also.
In order to get the axes right, I have adjusted the view angle so as to "get it right", but this is also not straightforward at the moment. Finally, the labeling is definitely wrong as can be seen in the output. Any help would be appreciated.
EDIT: There seems to be some kind of bug with the labeling. I will try what's recommended in this thread.



