This is explained and documented under -axis label options-.
In the manual, see the section [G] axis_label_options; on-line
see
whelp axis_label_options
or
whelp axis label options
in an -update-d Stata.
One key is know where to look is to realise that tick options
are options like -xtick()- and -ytick()- but labelled tick options
are options like -xlabel()- and -ylabel()-. Stata's been consistent
on that since the late 1980s.
Nick
[email protected]
Lim, Nelson
>
> Thanks, Scott. Honest, I did spend a couple of hours finding
> a solution.
> I didn't realize that I can do this something like this. I
> admit that I
> am not the smartest person I know, but I must say that STATA
> documentation on graphic is not the easiest piece to read and learn
> from.
Scott Merryman
> graph hbar (mean) promoted, over(race) over(paygrade) ///
> ylabel(.10 "10%" .20 "20%" .30 "30%" .40 "40%" .50 "50%" .60 "60%" ///
> .70 "70%" .80 "80%" .90 "90%" 1 "100%" )
Lim, Nelson
> > 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.
> >
*
* 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/