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: question about graph by()


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

--On Monday, January 28, 2013 9:34 PM +0000 Nick Cox <njcoxstata@gmail.com> wrote:

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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index