Hello, I have generated a striplot with separate markers for two categories, and would like to add symbols or lines to represent the mean of each category.
(plotting the mean is the problem, not generating it)

My x variable is a string however so addplot(scatter...) hasn't worked for me.
Any pointers on a better way to do this would be much appreciated.
(plotting the mean is the problem, not generating it)
Code:
sysuse auto, clear stripplot weight, over(rep78) stack height(0.1) vertical sep(foreign) centre msymbol(circle) msize(tiny tiny) mcolor(black red)
My x variable is a string however so addplot(scatter...) hasn't worked for me.
Any pointers on a better way to do this would be much appreciated.
Comment