adding 2D plot for the paths