[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: Labelling part of graph axis?
gen foo = _n - 37
scatter foo price , yla(0 20 40 -20 -40, ang(h))
yaxis(1 2) yla(12 `" "positive" "effect" "'
-12 `" "negative" "effect" "', axis(2) notick
ang(h)) yti("", axis(2))
> I am using Stata 8.2. I am graphing a coefficient estimated
> on repeated
> cross sections over several years. On the y-axis I want to label the
> region of the graph that is above zero as "Positive effect"
> and also label
> the region of the graph that is below zero as "Negative
> effect." I know
> this may seem silly, but the audience is not well-versed in
> stats and I
> believe this will help the presentation. Also, there are
> several other
> similar graphs for which labelling regions of the y-axis
> would be useful.
> So, after perusing the graph manual, and the nice book "A
> Visual Guide to
> Stata Graphics" I still do not know some way to accomplish
> this aim. Any
* For searches and help try: