Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: RE: Graph titles and labels with by()


From   "Steichen, Thomas J." <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: Graph titles and labels with by()
Date   Thu, 10 May 2007 16:57:06 -0400

i.e., title inside by option

Thomas Masterson
 
> I'm running in to a problem producing the graph I want.
> Running two separate box plots and combining them gives
> me a graph with one title, but a lot of space taken up
> with category labels. Using the by() option seems like
> it should be the answer.
> Here's what I think is the right code:
> 
> . graph hbox lnw [fw=wgt], over(cat) by(group, noiy) title("Title")
> 
> here's what I get:
> 
> 	Title           Title
> 	group1		group2
>       |               |
> cat1 |  box     cat1 |  box
>       |               |
> cat2 |     box  cat1 |     box
>       |_________      |___________
> 	scale            scale
> 
> and here's what I want it to look like:
> 
> 		Title
> 	group1		group2
>       |               |
> cat1 |   box         |   box
>       |               |
> cat2 |      box      |      box
>       |___________    |____________
> 	scale            scale
> 
> Can anybody see what I'm doing wrong?
> I also tried the -noiyl- in the -by()-
> options, but got the same output.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

-----------------------------------------
CONFIDENTIALITY NOTE: This e-mail message, including any
attachment(s), contains information that may be confidential,
protected by the attorney-client or other legal privileges, and/or
proprietary non-public information. If you are not an intended
recipient of this message or an authorized assistant to an intended
recipient, please notify the sender by replying to this message and
then delete it from your system. Use, dissemination, distribution,
or reproduction of this message and/or any of its attachments (if
any) by unintended recipients is not authorized and may be
unlawful.


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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