Got the XY plotting working