Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: line plot


From   mareikehahr@aol.com
To   statalist@hsphsun2.harvard.edu
Subject   st: line plot
Date   Mon, 10 May 2010 08:46:31 -0400

Dear Statalist,

I'm working with panel data and I'm trying to plot the yearly sum of one variable for all countries over time. I was able to create a bar diagram for that purpose by using the command: graph bar (sum) variable, over(year). But actually I would prefer to present the numbers in form of a line plot: But all the commands I could think of (e.g. tsline, line, twoway connected, etc.) do not allow the sum-option, as far as I understand them correctly. It would be great if anybody of you would get up with an idea!?

Thanks in advance

Mareike

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index