Added plotting to the ping