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
Merging dataset with different number of subjectsHello, this is my first post and I am a bit of a newbie so I hope my question is not too obvious. I…
Calculate sum of values in a tableDear all, I am currently working with a dataset where I would like to get the sum of values with ce…
FMM predictive accuracy measuresDear STATA list members, I'm using the STATA command fmm to fit a 2-component normal mixture model …
Time series - connected scatter?I want to create a rather simple graph that I thought that many others have used before. But after s…
bar graph with event markersHello, I have a panel with 12 individuals from a company and daily data from 2010 to 2020. I have …
Subscribe to:
Post Comments (Atom)
0 Response to Overlapping graph, but no layer "dominates" each other
Post a Comment