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

st: Can we change tick level for Y-axis?


From   "Lim, Nelson" <nlim@rand.org>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Can we change tick level for Y-axis?
Date   Sat, 2 Oct 2004 13:19:18 -0700

For example, major ticks are labeled as 0, .1, .2, .3, etc. I would like
to change them to 0, 10%, 20%, 30%, etc. 

How can we do this in STATA? I look at several sources. I am ready to
give up and use SigmaPlot, which is my default graphic program.  

Why? These represents mean of a dummy variable. But I want to present
them as percentages. 

In case you want to know, I have three categorical variables: (1)
promoted (1/0), (2) race (1,2,3), and (3) pay-grade (1 to 4). I want to
show how many percent of each group got promoted. I type:

graph hbar (mean) promoted, over(race) over(paygrade)

The graph I have is fine, except that the major ticks are labeled as 0,
.1, .2, etc. 

Thank you in advance for your help.

Regards,

NL



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

This email message is for the sole use of the intended recipient(s) and
may contain privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message.



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