add interactive plotting