Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: plotting a variable for the whole data

From   Nick Cox <>
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.


On Mon, Apr 11, 2011 at 2:01 PM, Humaira Asad <> 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:

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