Statalist


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

Re: st: -box graph- how to extend blue frame under x axis


From   "Cathy L. Antonakos" <cathya@umich.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: -box graph- how to extend blue frame under x axis
Date   Tue, 30 Dec 2008 09:35:11 -0500 (EST)

Thanks, Friedrick. That helps. I ended up making all kinds of changes to the graph to eliminate the frame, changed all colors to black or gray, etc. It's a bit of a work-around, but ends up looking okay.

Thank you!
Cathy
-------

From: "Friedrich Huebler" <fhuebler@gmail.com>
Subject: Re: st: -box graph- how to extend blue frame under x axis

Cathy,

Does the -alternate- option help?

. sysuse auto
. graph box mpg, over(foreign, label(alternate))

Friedrich

On Mon, Dec 29, 2008 at 9:37 PM, Cathy L. Antonakos <cathya@umich.edu> wrote:
I'm using the -graph box- command with the -over- suboption, something like
this:

graph box crowd, over(newlocn, label(angle(45)))

However, the bottom of the graph is clipped, so the labels along the x-axis
(identifying the group associated with each box) appear truncated in Stata.
If I copy and paste the graph into Word, the labels appear, but they extend
beyond the light blue frame at the bottom of the graph.

If the labels are not placed at an angle, they fit within the blue frame
under the x-axis, but they overlap and are not legible.

Is there a way to extend the blue frame around the graph, creating a wider
blue border at the bottom of the graph so the labels will be enclosed within
it? (I did try making the frame white, but there are stray details in the
graph that look odd without the blue frame.)

I'm ultimately trying to prepare this graph in .pdf or .eps format for
publication.

Thanks for your help!

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

------------------------------

End of statalist-digest V4 #3290
********************************

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



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