I'm using the following code to draw the electron wavefunction around an atom. I'd like to fade out the line towards it's end. I've read all the relevant questions I can find, but I fail to get what I want.
Do you have any ideas?
\documentclass[]{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=3,very thick]
\draw[color=red,domain=0:12.56,samples=200,smooth] plot (canvas polar cs:angle=\x r,radius={28-8*sin(2.25*\x r)});
\draw[dashed,domain=0:6.28,samples=200,smooth] plot (canvas polar
cs:angle=\x r,radius={0.5 r});
\draw[fill=black](0,0)circle (.5mm);
\end{tikzpicture}
\end{document}
\addplotand no\begin{axis}... Any reason to load pgfplots then? – darthbith Jan 26 '15 at 20:47