Statalist


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

st: RE: graph hbar query


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: graph hbar query
Date   Thu, 28 Aug 2008 21:59:24 +0100

-blabel()- is a documented option which sounds like what you want. 

Nick 
n.j.cox@durham.ac.uk 

Murali Kuchibhotla

      I am interested in plotting the no. of students taking a
particular 
course by the college they are enrolled in and by treatment status, as
in the 
following:

graph hbar (count) econ101_taken if  apltn_type=="1" , over(econ101_dum)
over
(college_category) ytitle("No. of Students Taking ECON 101")
title("College 
Distribution of ECON 101 Students") subtitle("By Treatment Status")

Is there a way to display the exact count of students on the graph
itself, 
say, in the form of a number on the top of each bar(since the number of 
students runs in the thousands, it is difficult to infer, up to an error

margin of about a 100, what the number of students in each category is-
hence 
the question) ? 

*
*   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   |   What's new   |   Site index