Integrated plotting code with the web interface.