Passing a discrete variable (string) as color in scatter plot

…or better the answer to this similar question