Dear All
I am using violinplot by Ben Jann available from SSC to draw a violinplot.
Two things I fail to add to my graph:
Here, I would like to see:
1. the legend to explain the IQR and the marker of the mean (see dummy text box)
2. the number of observation per category of union printed below its label (see added in graph editor)
Any help would be highly appreciated.
I am using violinplot by Ben Jann available from SSC to draw a violinplot.
Two things I fail to add to my graph:
- Add a legend which explains the drawn elements, e.g., mean or IQR, using the used colours and markers.
- Add the number of _n to the labels of the over category. So, how many observations were used to draw each violine, including the (total).
Code:
sysuse nlsw88 violinplot wage , pdf(ll(0)) over(union)
1. the legend to explain the IQR and the marker of the mean (see dummy text box)
2. the number of observation per category of union printed below its label (see added in graph editor)
Any help would be highly appreciated.
Comment