Statalist


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

st: graph hbar query


From   "Murali Kuchibhotla" <[email protected]>
To   [email protected]
Subject   st: graph hbar query
Date   Thu, 28 Aug 2008 13:29:34 -0500 (CDT)

Hello,
      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) ? 

Murali


*
*   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