How about:
graph dot mpg turn, over(rep78) by(foreign) ///
b1title("mean of mpg" "mean of turn")
Scott
----- Original Message -----
From: Friedrich Huebler <[email protected]>
Date: Wednesday, May 25, 2005 2:55 pm
Subject: st: X-axis title: graph dot, by()
> Stata 8.2, Windows XP
>
> Is it possible to specify individual x-axis titles in a dot plot when
> more than one variable is plotted? Take this example:
>
> . graph dot mpg, over(rep78) by(foreign, ixtitle b1title("")
> note(""))
>
> With the -ixtitle- option I can create individual x-axis titles. When
> I add a second variable, this no longer works.
>
> . graph dot mpg turn, over(rep78) by(foreign, ixtitle b1title("")
> note(""))
>
> I would like to have individual x-axis titles with the same text
> (e.g., "Mean") in addition to the legend. Can this be done?
>
> Thank you,
>
> Friedrich Huebler
>
*
* 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/