I have the following MWE which draws two fading filled circles:
\documentclass{article}
\usepackage{pgfplots}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\fill[inner color=red,outer color=white] (0,0) circle (1.8);
\begin{scope}[xshift=4cm]
\fill[inner color=red,outer color=white] (0,0) circle (1.8);
\end{scope}
\end{tikzpicture}
\end{document}
I would like to change the scope xshift
to 3cm. The problem is that the circles overlap with the right circle placed on top of that on the left circle. I want the colour intensity to instead add constructively.
A seperate question: How can I add a Gaussian function on top of the circles without the axes? The examples I saw on the TikZ site used the pgfplots package which draws the axes.