Statalist


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

RE: st: add xtitle to -graph bar-


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

I thank Maarten and Svend for the suggestions.   

I do want -xtitle-. The example was to demonstrate my problem. As
suggested by Maarten, creating the data set first and plot them using
-twoway bar- works. I just feel it would be handy if -graph bar- allows
-xtitle-.  

Using -b1title- adds the same title to each graph, I would like to have
one title for all graphs. 

Thanks,  

Zhiqiang 

Zhiqiang Wang
z.wang@uq.edu.au

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Maarten buis
Sent: Thursday, 17 April 2008 5:42 PM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: add xtitle to -graph bar-

Are you sure you don't want -ytitle("Mean values")- instead of
-xtitle("mean values")-, since the mean values are plotted on the
y-axis, and this is allowed with -graph bar-, otherwise you'll have to
create the data you want to plot, and plot them using -twoway bar-.

Hope this helps,
Maarten


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