interactive plotting