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]

From |
"B. Timothy Walsh" <btw1@columbia.edu> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: question about graph by() |

Date |
Mon, 28 Jan 2013 16:47:44 -0500 |

Perfect. Thank you! Tim

graph twoway scatter y x if inrange(id, 1, 6), by(id) graph twoway scatter y x if inrange(id, 7, 12), by(id) You can omit -graph twoway-. Nick On Mon, Jan 28, 2013 at 9:28 PM, B. Timothy Walsh <btw1@columbia.edu> wrote:I am successfully using graph twoway scatter y x, by(id) to produce a graph which combines individual graphs for all id's. The problem is that there are more graphs on the resulting combined graph than I would like. Is there a way to restrict the number of graphs combined to a specific number, like 6? So graphs for id's 1-6 would be on one graph, 7-12 on another, etc.* * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/

**References**:**Re: st: question about graph by()***From:*Nick Cox <njcoxstata@gmail.com>

- Prev by Date:
**Re: st: Need to read a value in a stata table into a variable** - Next by Date:
**Re: st: Random permutation test for rank-dependence** - Previous by thread:
**Re: st: question about graph by()** - Index(es):