Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: adding text to "by graphs"


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: adding text to "by graphs"
Date   Fri, 25 Mar 2005 15:12:48 -0000

I think this is way beyond what you can do by 
a -by()- option. You need to loop over groups, 
create separate graphs, and then -combine- 
them. That's not difficult, but you need 
to do it yourself.  

Nick 
n.j.cox@durham.ac.uk 

Tim Wade

> Can anyone provide any tips about how I can add different text
> annotations in a "by graph"? I created scatter plots using the by
> option and would like to add the R2 and regression equations for each
> graph. If I use, for example: text(1 2 "xxxx"), then "xxxx" is added
> to each of the graphs, which obviously won't work when I want the
> unique regression equations
> 

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index