added real time data plotting from sensor