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

From |
David Airey <david.airey@Vanderbilt.Edu> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Left-justify labels for categories, using -graph hbar- ? |

Date |
Mon, 16 Feb 2009 13:16:24 -0600 |

. Only text boxes seem to have justification styles. -Dave On Feb 15, 2009, at 5:56 PM, Hiroshi Maeda wrote:

Dear Statalist members, I am (still) using Stata 9.2 and Windows XP.Does anyone know how to left justify labels of categories for whichbarsare drawn, using -graph hbar- ?I would like to draw a horizontal bar graph that looks like the oneshownin the Graphics Reference Manual (Release 9, p. 40). The following command, which I copy from it, produces the graph: sysuse citytemp, clear graph hbar (mean)tempjan, over(division) over(region) nofillThe resultant graph organizes horizontal bars first by region (N.E.,N.Central, ...) and then by division (N. Eng., Mid Atl., ...).Here is my question concerning how the labels for regions anddivisionsare displayed: Is there a way to have Stat show the labels left-justifiedinstead of right-justified? That is, I would like to have Stata show the labels in this way: N.E. N. Eng. Mid Atl. N. Central E.N.C. W.N.C. South S. Atl. E.S.C. W.S.C. West Mountain Pacific Thank you. Hiroshi Maeda --------------------------------- Hiroshi Maeda University of Illinois at Chicago * * 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/

**Follow-Ups**:**Re: st: Left-justify labels for categories, using -graph hbar- ?***From:*Friedrich Huebler <fhuebler@gmail.com>

**References**:**st: Left-justify labels for categories, using -graph hbar- ?***From:*"Hiroshi Maeda" <hmaeda1@uic.edu>

- Prev by Date:
**st: -xtgee- results interpretation** - Next by Date:
**st: Retaining factors of a principal axis analysis using eigenvalues** - Previous by thread:
**st: Left-justify labels for categories, using -graph hbar- ?** - Next by thread:
**Re: st: Left-justify labels for categories, using -graph hbar- ?** - Index(es):

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