Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: graph bar, ascategory


From   Friedrich Huebler <[email protected]>
To   [email protected]
Subject   st: graph bar, ascategory
Date   Mon, 21 Apr 2003 12:44:21 -0700 (PDT)

Is it possible to specify the text below the bars in a -graph bar,
ascategory- graph? This is an excerpt from my data:

. clist total male female

           total       male     female
    1.         0          0          .
    2.         0          .          0
    3.         1          1          .
    4.         0          .          0
    5.         1          .          1

I am trying to plot the share of "yes" answers with this graph
command: 

. graph bar total male female, ascategory

I do not know how to replace the default "mean of total", "mean of
male", "mean of female" labels that are in the graph. I can collapse
the data, assign variable labels to the resulting means, and then
create a graph, but this looks like an unnecessary detour.

Thank you for your help.

Friedrich Huebler

__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com
*
*   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