I've plotted a function using TikZ and gnuplot and would like to indicate certain points on the graph. From the manual, I can only figure out how to get TikZ to place a mark at a point it's using to plot the function. Is there a clever (or even a simple) way to do this or am I better off just making a node for each point I want?
For reference, so far I have
\begin{tikzpicture}[domain=-4:4]
\draw[very thin,color=gray] (-4.1,-1.1) grid (3.9,0.9);
\draw[color=red] plot[id=f,smooth] function{x*exp(-2*x**2)}
node[right]{$f(x)=xe^{-2x^2}$};
\end{tikzpicture}