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

From |
"FEIVESON, ALAN H. (AL) (JSC-SK) (NASA)" <alan.h.feiveson@nasa.gov> |

To |
"'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu> |

Subject |
st: RE: Re: RE: RE: xlabel in bar graph |

Date |
Thu, 5 Feb 2004 15:12:51 -0600 |

Scott - Well, at least this cuts down the line length even though it requires a series of commands...anyway thanks for spending time on this. When I finally broke down and got Stata 8 , I justified it on the grounds that it was for analysis only and that I wouldn't spend hours trying to make pretty graphs - so much for that! Al F. -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu]On Behalf Of Scott Merryman Sent: Thursday, February 05, 2004 2:38 PM To: statalist@hsphsun2.harvard.edu Subject: st: Re: RE: RE: xlabel in bar graph Using the auto dataset, this will label the odd numbered set of bars. Unfortunately, the even set of bars have a "." label forv num = 1(1)5 { local xlabel "`xlabel' `num' . " } forv num2 = 1(2)5 { local xlabel "`xlabel' `num2' `num2' " } di "`xlabel'" graph bar (mean) headroom gear_ratio, over(rep78, relabel(`xlabel' )) Scott ----- Original Message ----- From: "FEIVESON, ALAN H. (AL) (JSC-SK) (NASA)" <alan.h.feiveson@nasa.gov> To: <statalist@hsphsun2.harvard.edu> Sent: Thursday, February 05, 2004 1:43 PM Subject: st: RE: RE: xlabel in bar graph > Then there is no way to show the label for every 5th set of bars other than > something like > > over(gene, relabel(1 "." 2 "." 3"." 4"." 6"." 7"." 8"." 9"." 11"."...(all > the way to 49)) ) ? > > Even with this, I can't get it to show nothing for non-multiples of 5 For > example if I replace "." with "" or " ", I still get the original x-variable > value. > > Al Feiveson > * * 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/

- Prev by Date:
**st: Re: Nonparametric two way ANOVA** - Next by Date:
**st: Date: Thu, 5 Feb 2004 16:05:09 -0600** - Previous by thread:
**st: RE: 2 Heckman regressions and Oaxaca decomposition** - Next by thread:
**st: RE: RE: RE: Re: xlabel in bar graph** - Index(es):

© Copyright 1996–2015 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |