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

RE: st: RE: adding text to "by graphs"

From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: RE: adding text to "by graphs"
Date   Fri, 25 Mar 2005 17:45:54 -0000

Interesting point. 

The program still needs to be written, 
and probably more code, and possibly trickier 
code, to write in the first instance. 

Loosely relevant here is my -cpyxplot- on SSC. 
The code shows one _undocumented_ option that 
allows customisation of the title of each 
of a set of similar graphs. 

[email protected] 

Chris Ruebeck
> One more note for Tim if he decides to do it himself: a 
> program that is 
> 'byable' might do the looping automatically.  Yes?  Then combine the 
> graphs afterwards.

Nick Cox

> > 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.

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:

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