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: plotting a variable for the whole data


From   Nick Cox <[email protected]>
To   [email protected]
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 <[email protected]> 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/


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