add analytical solution to plot