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 23:04:42 +1000

Thanks, Scott. That's what I was looking for! I thought I read the
manual. How did you dig this out? Cheers. 

Zhiqiang 
-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Scott
Merryman
Sent: Thursday, 17 April 2008 10:51 PM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: add xtitle to -graph bar-

On Thu, Apr 17, 2008 at 7:43 AM, Zhiqiang Wang <z.wang@uq.edu.au> wrote:
> 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.

Add the -b1title() to the -b()- statement.

graph  bar (mean) weight length  trunk mpg, by(for,b1title(Mean values))

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

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