Modified plotting, added sample time to config