Finally fixed the damn xyplot