plotMeasurement function

This function plots the result of a measurement