Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: separate text boxes in each panel of a "by"


From   Scott Merryman <scott.merryman@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: separate text boxes in each panel of a "by"
Date   Fri, 13 Jul 2012 10:08:40 -0500

I don't know if you can do it without editing the graph, but it is
possible to do it from the command line:

. sysuse auto
(1978 Automobile Data)

. twoway scatter mpg price, by(fore) text(30 12000 "Example", box)

. gr_edit .plotregion1.plotregion1[2].textbox1.Delete


Scott

On Fri, Jul 13, 2012 at 9:19 AM, Feiveson, Alan H. (JSC-SK311)
<alan.h.feiveson@nasa.gov> wrote:
> Hi - Does anyone know how to make panel-specific text boxes in a twoway plot with "by"?. For example if I have a command such as
>
> twoway XXXX,by(type)
>
> what if I want a text box at (y, x) only in a specified "by"-panel? Is this possible?
>
> Thanks
>
> Al Feiveson
>
*
*   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   |   Site index