Script and ping for plot3.
Adjust these scripts now that the as.numeric is fixed.