Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

: Re: st: -graph hbar- bars with colour used to identify groups of obs


From   <S.Jenkins@lse.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   : Re: st: -graph hbar- bars with colour used to identify groups of obs
Date   Thu, 7 Apr 2011 09:18:47 +0100

------------------------------

Date: Wed, 6 Apr 2011 14:38:01 +0000
From: Eric Booth <ebooth@ppri.tamu.edu>
Subject: Re: st: -graph hbar-  bars with colour used to identify groups
of obs

<>

Your bars look off-center because there are spaces for empty
groups/bars.  Add the nofill option. 
Here's some changes to your graph:

< snip>

The -nofill- option was exactly what I required. Many thanks to Eric for
his prompt and helpful response.

These sort of tricks with -graph (h)bar- could usefully be included as
examples in the next edition of Michael Mitchell's book (A Visual Guide
to Stata Graphics), I suggest. Neither the Stata manuals nor the current
edition of Michael's fine book have such examples, as far I can see.

Stephen
------------------
Professor Stephen P. Jenkins <s.jenkins@lse.ac.uk>
Department of Social Policy and STICERD
London School of Economics and Political Science
Houghton Street, London WC2A 2AE, UK
Tel: +44(0)20 7955 6527
Survival Analysis Using Stata:
http://www.iser.essex.ac.uk/survival-analysis
Downloadable papers and software: http://ideas.repec.org/e/pje7.html




Please access the attached hyperlink for an important electronic communications disclaimer: http://lse.ac.uk/emailDisclaimer

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