[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

From |
"Nick Cox" <n.j.cox@durham.ac.uk> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
RE: st: bar colours in -graph hbar, over()- |

Date |
Tue, 16 Sep 2008 15:36:44 +0100 |

This kind of comment is StataCorp signalling that they think that you should not, or are unlikely to, want to use such an option. My experience matches Stephen's comment. I think many users often want different colours for their bars, and me too. Nick n.j.cox@durham.ac.uk Stephen P. Jenkins Svend -- many thanks. This is very helpful. When I read [G] before, I did not understand the discussion of the "asyvars" option. Rereading, I am a little wiser. However, I also note that the comment [G]p.46 that "asyvars is seldom specified"! (I am surprised.) Svend Juul <SJ@SOCI.AU.DK> Try this: graph hbar (asis) poverty , over(period) over(htype) asyvars /// bar(1, color(blue)) bar(2, color(red)) Stephen Jenkins I am using the command graph hbar (asis) poverty , over(period) over(htype) where period has 2 categories, and htype has 10 categories. The command produces a graph exactly in the format I require, except that I would like the bars for the first period category to be blue, and the bars for the second period category to be red. How can I do this? * * 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/

**References**:**Re: st: bar colours in -graph hbar, over()-***From:*"Stephen P. Jenkins" <stephenj@essex.ac.uk>

- Prev by Date:
**Re: st: standard error of prediction (with weights)** - Next by Date:
**st: Re: Summing variables by row** - Previous by thread:
**Re: st: bar colours in -graph hbar, over()-** - Next by thread:
**st: Mkspline, age classes and probit** - Index(es):

© Copyright 1996–2015 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |