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
Linux: Make Stata default application of file type .dta (etc.)How can I change the default application of file types such as .dta, .do, .gph, .smcl to Stata? I su…
How to remove an extra digit/character from a string variableDear Statalist users I have a dataset which has a string variable in three parts, by convention, se…
How to generate predicted value by beta/standardized regression coefficients, rather than unstandardized ones?Is there a simple way to generate predicted value by beta/standardized regression coefficients. For …
Extracting just the month as a new variable from a complete date Hi, I have a variable that shows me the date of funding in the format, "day, dd/month/year, time"…
xtmerlogitFriends, I had this query; I am fitting three levels logistic-mixed effect model with Random coeff…
Subscribe to:
Post Comments (Atom)
0 Response to Overlapping graph, but no layer "dominates" each other
Post a Comment