I am using the tikz-3dplot package in order to plot some spherical harmonics.
The resulting tikzpicture contains an unsymmetric margin around the spherical harmonic. How can I get rid of this?
Code: Select all
\documentclass{article}
\pagestyle{empty}
\usepackage{tikz}
\usepackage{tikz-3dplot}
\newcommand{\sphPlot}[1]
{
\tdplotsetmaincoords{70}{135}
\begin{tikzpicture}[scale=1,tdplot_main_coords,line join=bevel,fill opacity=.7]
\tdplotsphericalsurfaceplot{48}{24}%[parametricfill]
{#1}
{black}
{red!60!black}%
{}%
{}%
{}%
;
\end{tikzpicture}
}
\begin{document}
%
\def\sphAA1M1 { \sphPlot{ 0.9*sin(\tdplottheta)*cos(-\tdplotphi)} } %2,-2
%
\fbox{
\sphAA1M1
}
%
\end{document}