plotting 2D templates