adding xyplot to assignment