Added live plotting