Added command to plot events