Let's say I have a local
gen x=20
gen y=30
gen z=50
replace y = x+ y
replace z= x+y+z
loc x y z
twoway (area `x y z' date_ym , cmissing(no) sort), ///
legend(pos(6) rows(2)) ylabel(0(25)100)
As we can see, normally, the colour assigned to z would "dominate" the whole graph. I want each "smaller" portion of the area as a superseding layer of the graph (or assign a different color to areas with overlaps) Any clue how to do this?
Related Posts with Overlapping graph, but no layer "dominates" each other
Is difference in differences appropriate here?Here is the situation: There was an intervention T. I am interested in how this intervention change…
Convert Single String Variable to Many Binary VariablesI have a variable for U.S. states that includes 01, 02, 03, ... , 50, 51, and these are all strings …
just-identified IV with ivlasso and multiple endogenous variablesDear Statalist I would like to estimate an IV regression with a high-dimensional set of controls us…
Help with loopingnHi Everyone, I have pasted below a screenshot of my dataset and of the variables I need to work wit…
robust ANOVA for non-normal dataDear Statalist friends, I am unexperienced with most statistical methods and Stata and I need some …
Subscribe to:
Post Comments (Atom)
0 Response to Overlapping graph, but no layer "dominates" each other
Post a Comment