Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: stack-graph-bar problem
From
Jörg Eulenberger <[email protected]>
To
[email protected]
Subject
st: stack-graph-bar problem
Date
Mon, 29 Nov 2010 10:02:25 +0100
Dear all,
i have an stack-graph-bar problem.
I want to draw an graph bar like this:
sysuse auto, clear
tab rep78, gen(rep78)
recode rep78 (1=3) (2=4) (3=1) (4=2) (5=5), gen(rep79)
tab rep79, gen(rep79)
graph bar rep781 rep782 rep783 rep784 rep785, over( foreign) stack
asyvars percent blabel(bar, format(%4.0f)size(medsmall) position(inside))
Now i want zu place the bars from rep79 beside the bars from rep78. The
pupose is an graph with 4 bars, two (rep78 rep79) over Domestic and two
over Foreign (rep78 rep 79).
Thanks a lot,
Jörg
<http://www.dict.cc/englisch-deutsch/beside.html>
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/