Statalist


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

Re: st: subtitle margins on sid- by-side boxplots.


From   Scott Merryman <[email protected]>
To   [email protected]
Subject   Re: st: subtitle margins on sid- by-side boxplots.
Date   Thu, 21 Jan 2010 13:49:56 -0600

On Thu, Jan 21, 2010 at 1:13 PM, Cohen, Elan <[email protected]> wrote:
> Is there any way around this?  (The reason I'm using -orient(vertical)- is because my value labels can get long, and end up overlapping otherwise.)
>

To expand on Martin's reply:

sysuse auto,clear
graph box price,by(foreign)
gr_edit .plotregion1.subtitle[1].text = {}
gr_edit .plotregion1.subtitle[1].text.Arrpush `"This subtitle is on"'
gr_edit .plotregion1.subtitle[1].text.Arrpush `"two lines"'

gr_edit .plotregion1.subtitle[2].text = {}
gr_edit .plotregion1.subtitle[2].text.Arrpush `"This subtitle is also on"'
gr_edit .plotregion1.subtitle[2].text.Arrpush `"two lines"'


Scott

*
*   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/



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