2d plot example