plot analytic and numerical solution