Hello,
I have some coral rugosity data for 7 locations measured in four years (2008, 2011, 2014, 2017).
I am hoping to present this as a series of box plots with the mean coral rugosity for each location overlaid as a connected scatter graph.
I have been successful in doing both parts of this separately, but I would love some helping combining them.
So far I have used the code // graph box praslinsw praslinne mahee anne mahew mahenw cousin , over(year) // to plot the annual data for the seven locations
the variables are the 7 locations
and the code // stripplot praslinsw, over(year) vertical box(bfcolor(gs14) barw(0.2)) ms(none) addplot (scatter mpraslinsw myear, connect(1)) // to create the type of diagram I would like for one location where I plot the mean data on top of the box plot for a single location.
However, as far as I am aware, I cannot use stripplot for multiple variables.
Is there a way / code that would enable me to achieve the output of the second code, but, with all 7 locations on one diagram such as in code one?
I have attached the data in csv format (apologies). Cols A-H are the annual data and cols I-P are the mean data I would like superimposed.
Many thanks in advance.
I have some coral rugosity data for 7 locations measured in four years (2008, 2011, 2014, 2017).
I am hoping to present this as a series of box plots with the mean coral rugosity for each location overlaid as a connected scatter graph.
I have been successful in doing both parts of this separately, but I would love some helping combining them.
So far I have used the code // graph box praslinsw praslinne mahee anne mahew mahenw cousin , over(year) // to plot the annual data for the seven locations
the variables are the 7 locations
and the code // stripplot praslinsw, over(year) vertical box(bfcolor(gs14) barw(0.2)) ms(none) addplot (scatter mpraslinsw myear, connect(1)) // to create the type of diagram I would like for one location where I plot the mean data on top of the box plot for a single location.
However, as far as I am aware, I cannot use stripplot for multiple variables.
Is there a way / code that would enable me to achieve the output of the second code, but, with all 7 locations on one diagram such as in code one?
I have attached the data in csv format (apologies). Cols A-H are the annual data and cols I-P are the mean data I would like superimposed.
Many thanks in advance.
Comment