[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: overlaid twoway graph, move bars
is it possible to shift the bars against each other in an overlaid graph
like this:
twoway (bar mean1 land if mum==1, horizontal fcolor(black)lcolor(black))
(bar mean2 land if mum==1, horizontal fcolor(none) lcolor(gray))
(bar mean3 land if dad==1, horizontal fcolor(black) lcolor(black))
(bar mean4 land if dad==1, horizontal fcolor(none) lcolor(gray)),
ytitle(, orientation(horizontal)) xlabel(-80 "80" -70 "70" -60 "60" -50
"50" -40 "40" -30 "30" -20 "20" -10 "10" 0(10)80);
- so you are able to see both bars in every category where one group is
not a subset of the other (the bars that are longer differ per category).
thanks in advance!
martina
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/