changed interactive mode plotting