Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

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


From   "Feiveson, Alan H. (JSC-SK311)" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   RE: st: separate text boxes in each panel of a "by"
Date   Fri, 13 Jul 2012 12:40:42 -0500

Thanks, Scott - Nice to learn something new!

Al 
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Scott Merryman
Sent: Friday, July 13, 2012 10:09 AM
To: [email protected]
Subject: Re: st: separate text boxes in each panel of a "by"

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)
<[email protected]> 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/

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index