[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Replicating catplot with twoway parea
How do I replicate catplot using twoway parea?
catplot hbar var var2, percent(var2) asyvars stack ///
bar(1, bcolor(gs13)) bar(2, bcolor(gs11)) bar(3, bcolor(gs8)) bar(4,
bcolor(gs5)) bar(5, bcolor(gs2))
where "var" and "var2" are categorical variables.
Thank you.
*
* 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/