plotting/grouping variable in scatter plot

#1
I am a newbie with STATA (and SPSS) but:

I've plotted a scatter plot to check for heteroscedasticity (rvfplot) and now I want the 'plots' to have different colors so I know why/what is causing the heteroscedasticity:

I want to plot the residuals using the categorical variable as a grouping variable