Added a plotter for arbitrary inputs.