Statalist


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

[no subject]



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

Stephen Jenkins wrote:

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?

...

======================================================================

Stephen,

Try this:

graph hbar (asis) poverty , over(period) over(htype) asyvars ///
   bar(1, color(blue)) bar(2, color(red))

hth
Svend



Stephen
-------------------------------------------------------------
Professor Stephen P. Jenkins <[email protected]>
Director, Institute for Social and Economic Research
University of Essex, Colchester CO4 3SQ, U.K.
Tel: +44 1206 873374.  Fax: +44 1206 873151.
http://www.iser.essex.ac.uk  
Survival Analysis using Stata:
http://www.iser.essex.ac.uk/teaching/degree/stephenj/ec968/ 
Downloadable papers and software: http://ideas.repec.org/e/pje7.html

Learn about the UK's new household panel survey, the United Kingdom
Household Longitudinal Study: http://www.iser.essex.ac.uk/ukhls/ 


*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index