I am using Stata 16.1 MP.
I have the code and output for a simple injury risk (burden) matrix as below:
Code:
twoway (rcapsym sev_lower95CI sev_upper95CI incidence, lcolor(gs12) m(i) mcolor(navy) mlcolor(black) mlwidth(vthin)) /// (rcapsym incid_lower95CI incid_upper95CI daystimeloss, horizontal lcolor(gs12) m(i) mcolor(navy) mlcolor(black) mlwidth(vthin)) /// || scatter daystimeloss incidence, mlabel(OSICS_12str) mlabs(vsmall) mlabc(black) mlabgap(*1.8) mlabv(pos) /// m(o) mcolor(black) mlcolor(black) mlwidth(vthin) xtitle("Injury incidence (per 365 athlete days)", height(5) size(medsmall)) /// ytitle("Severity (mean time loss days)", size(medsmall)) xlabel(0(0.05)0.55, format(%9.2f) labs(small)) ylabel(0(25)275, labs(small) angle(0) format(%9.0f)) legend(off)
Array
Is there a method to produce a graded fade in color of the graph's background from the bottom left hand side to the top corner on the right hand side? Appreciating the various methods in which this matrix could be produced, this colored background is for presentation purposes to be consistent with previously published work as displayed below:
Array
Using:
Code:
plotregion(color())
Thanks,
Liam
0 Response to Graded fading of the background color using plotregion(color())
Post a Comment