Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Replicating catplot with twoway parea


From   [email protected]
To   "[email protected]" <[email protected]>
Subject   st: Replicating catplot with twoway parea
Date   Wed, 16 Dec 2009 18:33:34 -0800

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index