Hi there,
I am using Stata 18 and the coefplot package from SSC.
I have created a coefficient plot of sleep duration over a two-week period using a matrix (First row of matrix: mean. Second row of matrix: standard error). Code is below:
I have been asked to highlight somehow that the middle Sunday is the Sunday of the Spring clock change. I've tried updating the x axis label for the middle Sunday to "Clock change Sun" which crudely did the job, but to fit that in I then had to angle the x labels which means the graph takes up a lot more space.
I was therefore wondering whether there is a way to change the marker symbol for just the middle Sunday on my graph (graph will be black & white so no point changing the colour)? Or if you have any better suggestions of how to highlight that the middle Sunday is the Sunday of the clock change?
Thank you in advance!
Mel
I am using Stata 18 and the coefplot package from SSC.
I have created a coefficient plot of sleep duration over a two-week period using a matrix (First row of matrix: mean. Second row of matrix: standard error). Code is below:
Code:
set scheme s1mono
coefplot mat(spring_mat), se(2) vertical xlab(1 "Sun" 2 "Mon" 3 "Tue" 4 "Wed" 5 "Thur" 6 "Fri" 7 "Sat" 8 "Sun" 9 "Mon" 10 "Tue" 11 "Wed" 12 "Thur" 13 "Fri" 14 "Sat" 15 "Sun") xtitle("Day", height(5)) ytitle("Mean sleep duration (hours) +/-SEM", height(5)) graphregion(color(white)) plotregion(lc(white)) ylabel(, nogrid)
I was therefore wondering whether there is a way to change the marker symbol for just the middle Sunday on my graph (graph will be black & white so no point changing the colour)? Or if you have any better suggestions of how to highlight that the middle Sunday is the Sunday of the clock change?
Thank you in advance!
Mel

Comment