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: Query on graphing
From
"SIYAM, Amani" <[email protected]>
To
"[email protected]" <[email protected]>
Subject
RE: st: Query on graphing
Date
Thu, 7 Jun 2012 08:14:33 +0000
Lots of thanks Dan!! I will give it a try.
Amani
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Lythgoe, Dan
Sent: 07 June 2012 10:00
To: '[email protected]'
Subject: RE: st: Query on graphing
Amani, this code should do it, just repeat lines two and three for all of the other years:
clear
input ///
year xvar
1979 1
1984 1
1989 1
1994 1
1999 1
2004 1
2009 1
end
tw (line year xvar , c(L) lcolor(gray) lwidth(1)) ///
(scatter year xvar if year==2009, c(L) lcolor(gray) lwidth(1) msymbol(O) msize(3) mfcolor(red) mlcolor(black) mlwidth(0.5) ///
mlabel(year) mlabposition(9) mlabcolor(black) mlabsize(3)) ///
, graphregion(color(white)) yscale(reverse)
Regards
Dan
Dan Lythgoe
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of SIYAM, Amani
Sent: 07 June 2012 08:57
To: [email protected]
Subject: RE: st: Query on graphing
Thanks for your suggestion. I am actually interested in the plot type whether it is doable in Stata rather than the scheme.
Great thanks.
Amani
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Abhimanyu Arora
Sent: 07 June 2012 09:40
To: [email protected]
Subject: Re: st: Query on graphing
You might want to check out the graphing schemes.
There is actually one especially for graphs as in the Economist called -economist-.
On Thu, Jun 7, 2012 at 9:26 AM, SIYAM, Amani <[email protected]> wrote:
>
> Dear Statalisters,
>
> I am curious about a graph I saw in The Economist (Figure 2, in the article http://www.economist.com/node/21555927).
>
> Can someone tell me whether it was/can be generated by Stata?
>
> Many thanks in advance.
>
> Amani
>
> *
> * 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/
*
* 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/
*
* 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/
*
* 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/
*
* 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/