add 2d fig