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

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

From |
Scott Merryman <scott.merryman@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: angle for text in graph |

Date |
Wed, 12 Jun 2013 09:21:52 -0500 |

I think you will have to wrap each character in quotes: slideplot hbar rep78, neg(1 2 3) pos(4 5) by(foreign) percent /// legend(subtitle("FIM Scale") span cols(7)) /// ytitle("Percent of the population with these scores") /// title("AdmissionFIM_Comprehension") /// l2("I" "m" "p" "a" "i" "r" "m" "e" "n" "t" " " "G" "r" "o" "u" "p" "s", orient(h) size(*.8) ) Scott On Wed, Jun 12, 2013 at 8:35 AM, Richard Goldstein <richgold@ix.netcom.com> wrote: > Hi all, > > in using Nick Cox's -slideplot- command (from SSC), I am attempting to > add text on the far left and, if possible, I would like that text to be > vertical (explained below) > > as an example, here is code using Stata's auto data set: > > slideplot hbar rep78, neg(1 2 3) pos(4 5) by(foreign) percent > legend(subtitle("FIM Scale") span cols(7)) ytitle("Percent of the > population with these scores") text(-143 50 "Impairment Groups", > orient(vertical) align(middle) size(medium) angle(vertical)) > title("AdmissionFIM_Comprehension") > > This may be a little confusing as I have changed as little as I could > get away with; most of the text deals with a medical example using the > Functional Independence Measure (FIM), widely used in rehab hospitals in > the US (and some other countries); the text I am concerned with here is > "Impairment Groups" which I would like to look as follows: > > I > m > p > a > i > r > m > e > n > t > > G > r > o > u > p > s > > I had thought that the "angle" option would do this, but it has no > effect (i.e., the graph looks the same without the option as with it and > continues to look the same whether the anglestyle is given as "vertical" > or as "horizontal" > > any ideas? > > Rich * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/

**Follow-Ups**:**Re: st: angle for text in graph***From:*Richard Goldstein <richgold@ix.netcom.com>

**References**:**st: angle for text in graph***From:*Richard Goldstein <richgold@ix.netcom.com>

- Prev by Date:
**Re: st: please help: tobit comparisons** - Next by Date:
**Re: st: Dates in -graph bar-** - Previous by thread:
**st: angle for text in graph** - Next by thread:
**Re: st: angle for text in graph** - Index(es):