add 2d plot