Code: Select all
\documentclass{standalone}
\usepackage{tikz}
\usepackage{pgfplots,tikz-3dplot}
\begin{document}
\begin{tikzpicture}
\begin{axis}[%
width=0.8\textwidth,
axis equal,
axis lines = center,
y label style={at={(axis cs:0,2,0)},anchor=west},
xlabel = {$\lambda_1,\ \vec{e}_1$},
ylabel = {$\lambda_2,\ \vec{e}_2$},
zlabel = {$\lambda_3,\ \vec{e}_3$},
ticks=none,
]
\addplot3[%
shader=interp,
opacity = 0.3,
fill opacity=0.3,
surf,
colormap/blackwhite,
variable = \u,
variable y = \v,
domain = 0:180,
y domain = 0:360,
]
({2*cos(u)*sin(v)}, {2*sin(u)*sin(v)}, {0.5*cos(v)});
\end{axis}
\end{tikzpicture}
\end{document}
This shading does not give a 3D impression, I would like to have somethin like in the attached file. Is it possible to define a new 3d shading in this coordinate system? I could not find such a command in the pgfplot documentation. All predefined shadings are not suitable.
Glad for any help!