Plotting 2D and user defined I/O