[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   "Friedrich Huebler" <>
Subject   Re: st: -box graph- how to extend blue frame under x axis
Date   Mon, 29 Dec 2008 22:45:15 -0500


Does the -alternate- option help?

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


On Mon, Dec 29, 2008 at 9:37 PM, Cathy L. Antonakos <> 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:

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