Testing plotting functionality with call backs to use  with variable
watch.