Statalist


[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   <statalist@hsphsun2.harvard.edu>
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
values)
xtitle(Mean values) not allowed, xaxis1 does not exist
r(198);

=====================================================

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

   ... b1title(Mean values) 

Svend
__________________________________________

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
Email:  sj@soci.au.dk
__________________________________________ 

*
*   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