Statalist


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

st: Catplot Bar Patterns


From   jasonm@ucla.edu
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Catplot Bar Patterns
Date   Tue, 15 Dec 2009 21:40:27 -0800

Instead of using shades of grey (eg gs11) is it possible to fill each bar with a different pattern (eg dots, o's, diagnols):

catplot hbar longg studyno, percent(studyno) asyvars stack name(longx) title("Long") legend(off) /// bar(1, bcolor(gs13)) bar(2, bcolor(gs11)) bar(3, bcolor(gs8)) bar(4, bcolor(gs5)) bar(5, bcolor(gs2))

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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index