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: Imposing a line graph into a bar graph


From   Syed Basher <syed.basher@yahoo.com>
To   Statalist <statalist@hsphsun2.harvard.edu>
Subject   st: Imposing a line graph into a bar graph
Date   Tue, 12 Apr 2011 11:21:55 -0700 (PDT)

Hello Stata users,

I am using Stata 11.2. I have generated a bar graph  using the following 
command:
graph bar us uk jap, over(year)
 
I have a  forth variable, which is the average of (us uk jap). I want to impose 
the  fourth variable (say x1) on the bar graph as a line graph. I have tried 
inserting the command for a line graph [twoway (line x1 year)] into the  above 
command, which didn't work. Your help/hint is much appreciated.
 
--
Syed Abul Basher
Qatar Central Bank
P.O. Box  1234
Doha, Qatar.

*
*   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