Statalist


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

RE: st: Bar Chart Area Pattern


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Bar Chart Area Pattern
Date   Wed, 18 Mar 2009 13:43:21 -0000

My impression is the same as Maarten's. 

In addition I recommend Edward Tufte's book from 1983 or 2001 as an effective antidote to any urge to draw stacked bar charts with pattern fills. See 

http://www.edwardtufte.com/tufte/books_vdqi

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

Maarten buis

--- On Mar 17, 2009, at 11:56 PM, Keuntae Kim aksed:
> > > I am drawing a stacked bar chart which has four
> > > categories [and] I would like to use different
> > > area patterns, such as hatched lines.
> > >
> > > In other words, I would like to draw a stacked
> > > bar chart that looks like one produced by
> > > twoway parea command.

--- Dave answered
> > Pattern fills are not supported by official Stata.

--- On Wed, 18/3/09, Keuntae Kim wrote:
> Is there any user written program for this?

As far as I know you have already found the only user
written program in this area: -twoway parea-. You can
use that to create a bar chart. To do so you need to
change your data quite a bit. For that the -contract-
and -collapse- commands are probably the most useful.


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