Statalist


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

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


From   "Cohen, Elan" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: subtitle margins on sid- by-side boxplots.
Date   Thu, 21 Jan 2010 14:13:34 -0500

I'm using Stata 10.  In a graph similar to this:

sysuse auto, clear
graph box price, by(foreign,row(1)) sub(,orient(vertical) al(middle) j(left))

I can't understand why there is so much "vertical" space in the subtitles above each boxplot.  I've tried:

graph box price, by(foreign,row(1)) sub(,orient(vertical) al(middle) j(left) margin(zero))

but this doesn't do anything.  It seems like the size of the subtitle region is always the same as the size of the plot, even if I were to specify -sub("")-.  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.)

I'd appreciate any help in this matter.  Thank you.

- Elan


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