I was wondering if anyone could point me in the right direction on how to produce a shaded graph in Stata.
Let's say I have data on the prices of 3 products over an 8-year period (annual price observations) and I'd like to plot the price trends.
Code:
graph twoway (line prod1 prod2 prod3 year, clcolor(blue red green)), /// xlabel(2009(2)2016) xtitle("") legend( symys(*.5) symxs(*.5) size(3) region(c(none)) /// bm(tiny) rows(1) order(1 "Product 1" 2 "Product 2" 3 "Product 3") ) graph display, scheme(sj)
Is this possible to accomplish?
Thank you very much.
0 Response to Shaded graph
Post a Comment