Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down at the end of May, and its replacement, **statalist.org** is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
"G. Dai" <dgecon@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: AW: about graph bar |

Date |
Fri, 5 Mar 2010 11:29:50 -0800 |

thanks,Martin. It is so nice to have you guys on this list ;-) On Fri, Mar 5, 2010 at 11:23 AM, Martin Weiss <martin.weiss1@gmx.de> wrote: > > <> > > Put it inside the -by()- option... > > ******* > sysuse auto, clear > graph bar (mean) weight, /* > */ by(, note(" ") title("This is the title")) /* > */ by(foreign, total rows(1)) > ******* > > > HTH > Martin > > > -----Original Message----- > From: owner-statalist@hsphsun2.harvard.edu > [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of G. Dai > Sent: Freitag, 5. M=E4rz 2010 19:48 > To: statalist@hsphsun2.harvard.edu > Subject: Re: st: AW: about graph bar > > sorry for this. > > After I adding a title option > ************* > sysuse auto, clear > graph bar (mean) weight, by(, note(" ")) by(foreign, total rows(1)) > title("This is the title") > ************* > I have a title for each group bar, which is boring. How to fix it? > > > > On Fri, Mar 5, 2010 at 10:45 AM, G. Dai <dgecon@gmail.com> wrote: > > > thanks, Martin. > > this works with a trick. After I adding a title optoin: > > > > ************* > > sysuse auto, clear > > graph bar (mean) weight, by(, note(" ")) by(foreign, total rows(1)) > > title("T > > ************* > > > > > > On Fri, Mar 5, 2010 at 9:36 AM, Martin Weiss <martin.weiss1@gmx.de> > wrote=3D > : > > > >> > >> <> > >> > >> This is probably most easily accomplished via -by()-: > >> > >> > >> ************* > >> sysuse auto, clear > >> graph bar (mean) weight, by(, note(" ")) by(foreign, total rows(1)) > >> ************* > >> > >> > >> > >> HTH > >> Martin > >> > >> > >> -----Urspr=3DFCngliche Nachricht----- > >> Von: owner-statalist@hsphsun2.harvard.edu > >> [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von G. Dai > >> Gesendet: Freitag, 5. M=3DE4rz 2010 17:42 > >> An: statalist@hsphsun2.harvard.edu > >> Betreff: st: about graph bar > >> > >> Dear all, here is my question. I have data on individual weight, gende= r, > >> and > >> a dummy indicating > >> if the individual does exercises often. I want to compare if often > >> exercise > >> is correlated with weight. > >> thus, I first > >> .graph bar weight,over(exercise) > >> and to compare the gender difference I also > >> .graph bar weight,over (exercise) over(gender) > >> As you can see I get two graphs one separating gender effect one not. > >> However, to save space, > >> I'd like to combine these tow graphs in one,that is one graph with > thr=3D > ee > >> type bars:male female and mixed. > >> thanks, > >> Guang > >> > >> * > >> * For searches and help try: > >> * http://www.stata.com/help.cgi?search > >> * http://www.stata.com/support/statalist/faq > >> * http://www.ats.ucla.edu/stat/stata/ > >> > >> > >> * > >> * For searches and help try: > >> * http://www.stata.com/help.cgi?search > >> * http://www.stata.com/support/statalist/faq > >> * http://www.ats.ucla.edu/stat/stata/ > >> > > > > > > * > * For searches and help try: > * http://www.stata.com/help.cgi?search > * http://www.stata.com/support/statalist/faq > * http://www.ats.ucla.edu/stat/stata/ > > > * > * For searches and help try: > * http://www.stata.com/help.cgi?search > * http://www.stata.com/support/statalist/faq > * http://www.ats.ucla.edu/stat/stata/ > * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**References**:**st: about graph bar***From:*"G. Dai" <dgecon@gmail.com>

**Re: st: AW: about graph bar***From:*"G. Dai" <dgecon@gmail.com>

**Re: st: AW: about graph bar***From:*"G. Dai" <dgecon@gmail.com>

- Prev by Date:
**Re: st: AW: Bootsrapping standard errors of elasticities** - Next by Date:
**Re: st: Regression analysis with a minimum function on the RHS** - Previous by thread:
**RE: st: AW: about graph bar** - Next by thread:
**re: Re: st: AW: RE: RE: RE: how to choose the # for --set seed #--** - Index(es):