Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[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   <[email protected]>
To   <[email protected]>
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 <[email protected]>
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 <[email protected]>
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index