Hello,

I have country-level panel data for GDP per capita for the past 10 years that I wish to represent in a side-by-side boxplot (by years. So my x-axis would be years, y-axis would be GDP per capita).

I also have categories of countries. Some countries are classified as "fragile" and others are "non-fragile".

Is there a way to overlay the mean GDP value of "fragile" countries per year on the boxplot graphs? I am aware that others have attempted to do this using the "twoway rbar" method, but was wondering if there is a more efficient way, preferably sticking to the "graph box" syntax