Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Nick Cox <njcoxstata@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: plotting a variable for the whole data |
Date | Mon, 11 Apr 2011 14:07:32 +0100 |
I am not clear why -overlay- is not what you want. But try . line myvar time That could be a mess, depending on sort order. . tsset id time . line myvar time, c(L) often helps. . scatter myvar time is always possible. Nick On Mon, Apr 11, 2011 at 2:01 PM, Humaira Asad <humairaasad@hotmail.com> wrote: > How can I plot a variable over time in one diagram, because when i use xtline etc it shows all the panels separately or "overlay" shows all the graphs in one. I want one graph for the whole data together not for panels separately. * * 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/