Added plotting function.