Caption and mergin for 2d plotter

* add mergin to 2d plotter
* add caption to 2d plotter