2d ellipse plotting works