I am looking to create a similar graph like the one herein attached which combines both bar and dot plots into a single plot.
Array
Kindly find the data that I am using:
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input long Category float(frequencyindex coverageratio prevalencescore regularintensity) 1 .3943591 .4980086 2.0093305 .0003354162 2 .3671874 .42085615 1.1860977 .01351625 3 .26117173 .3459178 .9149907 -.032216 end label values Category Category label def Category 1 "GCC", modify label def Category 2 "Maghreb", modify label def Category 3 "Mashreq", modify
The command I am using is:
Code:
tw bar prevalencescore Category ||scatter regularintensity Category, yaxis(2)
Seeking your kind advice and help, much appreciated.
Array
0 Response to Bar and dot plots in a two-way graph command
Post a Comment