Statalist


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

RE: st: Catplot Bar Patterns


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Catplot Bar Patterns
Date   Wed, 16 Dec 2009 12:34:09 -0000

Otherwise put, official Stata does not support dots or spots, or straight or wavy stripes, whether horizontal, vertical or diagonal. 

The reference is to -catplot- (user-written, SSC) but, as used here, -catplot- is a wrapper for -graph hbar- and thus supports precisely the presentations of bars that -graph hbar- does, meaning none of the above. 

Nick 
n.j.cox@durham.ac.uk 

Maarten buis

--- On Wed, 16/12/09, jasonm@ucla.edu wrote:
> Instead of using shades of grey (eg
> gs11) is it possible to fill each bar with a different
> pattern (eg dots, o's, diagnols)

Yes, but it is not easy. You'll have to reformulate your  
graph statement as a -twoway rarea- statement and 
download Sergiy Radyakin's twoway_parea (type in Stata:
-ssc install twoway_parea-). 


*
*   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