adding 2d plots