[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: add xtitle to -graph bar-

From   Svend Juul <SJ@SOCI.AU.DK>
To   <>
Subject   Re: st: add xtitle to -graph bar-
Date   Thu, 17 Apr 2008 09:36:24 +0200

Zhiqiang wrote:

I tried the following and get an error message. 
. sysuse auto
(1978 Automobile Data)
. graph  bar (mean) weight length  trunk mpg, by(for) xtitle(Mean
xtitle(Mean values) not allowed, xaxis1 does not exist


For reasons not understood by me, -xtitle()- is not allowed in 
bar graphs. Use -b1title()- instead:

   ... b1title(Mean values) 


Svend Juul
Institut for Folkesundhed, Afdeling for Epidemiologi
(Institute of Public Health, Department of Epidemiology)
Vennelyst Boulevard 6
DK-8000  Aarhus C, Denmark
Phone:  +45 8942 6090
Home:   +45 8693 7796

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index