Statalist The Stata Listserver


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

st: how to overlap histograms


From   Alejandro Delafuente <[email protected]>
To   [email protected]
Subject   st: how to overlap histograms
Date   Tue, 21 Nov 2006 15:51:45 +0000

Dear statalisters, am would like to overlap two histograms, can anyone tell how 
to do so? The code that I have produced so far is the following, but it 
displays two separate histograms with same scale magnitudes:

histogram CONTINUOUS VARIABLE if round!=1, percent lcolor(red) ytitle(Percent 
of households) xtitle(???) xlabel(0(.3)1, ticks) title(, justification(center)) 
note(, justification(center) alignment(top)) legend(off) by(round, note
(Difference in means test significant at 0.01% , size(vsmall) justification
(left)))

Many thanks,
Alejandro
-- 
Alejandro de la Fuente
Department of International Development/QEH
University of Oxford, Mansfield Road, Oxford OX1 3TB
Tel: 01865 281836

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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