Hello,

I am trying to create a way to display a data index I have created for coral rugosity (data attached).
The Stata dot plot graph is the best way I have found to present this data using the code: graph dot index, over(genus, sort((mean) index)) to give the attached result after a little editing.

However, each coral is also part of a morphotype group (branching, columnar etc.) that I would like to be distinguished. Is there a way I can add the data separately for each morphotype, with the data for each colour coded? Array

Many thanks,
Emi