improved differentiation plot