Statalist


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

st: add xtitle to -graph bar-


From   "Zhiqiang Wang" <z.wang@uq.edu.au>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: add xtitle to -graph bar-
Date   Thu, 17 Apr 2008 16:55:42 +1000

Hi 

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);


I have used -b1(Mean value)- and -b2(Mean value)- options. Both worked
fine but not what I want. I want to have one title for both graphs. Any
suggestions would be appreciated. Thanks.

Zhiqiang 
---
Zhiqiang Wang, PhD
School of Medicine, University of Queensland
Room 317, Edith Cavell Building
Royal Brisbane & Women's Hospital
Herston QLD 4029
Australia
Tel: +61 7 3346 4811
Fax: +61 7 3346 4812
Email: z.wang@uq.edu.au


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