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

From |
"Steichen, Thomas J." <SteichT@RJRT.com> |

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

Subject |
st: RE: graph hbox with ylabel(angle()) |

Date |
Mon, 16 Feb 2009 16:23:33 -0500 |

The ylabel command for hbar is just label() and is a suboption inside of the over() option: over(xxx, label(angle(forty_five))) ----------------------------------- Thomas J. Steichen steicht@rjrt.com ----------------------------------- -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of tess stafford Sent: Monday, February 16, 2009 4:11 PM To: statalist@hsphsun2.harvard.edu Subject: st: graph hbox with ylabel(angle()) With regards to the "graph hbox" command, I cannot get the suboption "angle()" to work with "ylabel". A simplified version of my code is: graph hbox var1, over(var2) medtype(cline) medline(lcolor(none)) /* */ ylabel(2001.649 "Fa2001" 2002.422 "Sp2002" 2002.649 "Fa2002" 2003.422 "Sp2003",labsize(small) angle(45) grid) The "labsize()" suboption seems to work fine, but the "angle()" suboption does nothing. When I change the code to "graph box" instead, "angle()" works fine. Similarly, "angle()" works fine for the other axis as in "over(var2,label(angle(45))). I don't understand why it won't work for the ylabel. Does anyone see anything wrong with my code? If not, is this a glitch in the language? Can we trick it into working? I know I can manually go in and alter the angle of the labels once Stata has generated the graph, but I will likely be making many of these graphs over different groups in the data and potentially tweaking different aspects of them so it would be very time consuming to have to continually manually alter them. I'm using Stata 10/MP, by the way. Thanks for your help! Tess _________________________________________________________________ Want to do more with Windows Live? Learn "10 hidden secrets" from Jamie. http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008 * * 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/ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. * * 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: RE: graph hbox with ylabel(angle())***From:*tess stafford <bunnyweeds@hotmail.com>

**References**:**st: graph hbox with ylabel(angle())***From:*tess stafford <bunnyweeds@hotmail.com>

- Prev by Date:
**st: graph hbox with ylabel(angle())** - Next by Date:
**RE: st: RE: graph hbox with ylabel(angle())** - Previous by thread:
**st: graph hbox with ylabel(angle())** - Next by thread:
**RE: st: RE: graph hbox with ylabel(angle())** - Index(es):

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