I don't think your output is right. What ondansetron was looking for was just a scatterplot like you were doing before, but to have signs for each of your categorical variables. So if you had sex in the model, all of the females would be one color or shape and the males would be a different color or shape. It seems like you got close with your code, though it appears you have two values for each observation in the figure.