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]

st: RE: RE: making a thumbnail graph


From   Nick Cox <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: RE: RE: making a thumbnail graph
Date   Fri, 21 Oct 2011 13:18:39 +0100

Should be "just can not provide". 

Nick 
[email protected] 


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Nick Cox
Sent: 21 October 2011 13:12
To: '[email protected]'
Subject: st: RE: making a thumbnail graph

I'd appreciate a definition of a thumbnail graph in a Stata context. What Googling I did implies that you may want something that Stata just can provide, unless you just use Stata to draw the raw graphs for some document that you then interact with. 

Another answer to your question is to use -by()- to combine graphs. 

twoway line taxr year if year<2008, by(country) clwidth(thick) clcolor(black) 

Nick 
[email protected] 

Edward James

I want to make a thumbnail graph by combining 34 graphs and I typed like this.
Is there much more efficient way to draw a thumbnail graph?
And I only want to get a thumbnail graph, but when I excute this do
file, all 34 graphs pop up. Do you have any idea to deal with it?

Thanks.

twoway line taxr year if country=="Australia" & year<2008,
title("Australia") clwidth(thick) clcolor(black) name(b1)
twoway line taxr year if country=="Austria" & year<2008,
title("Austria") clwidth(thick) clcolor(black) name(b2)
twoway line taxr year if country=="Belgium" & year<2008,
title("Belgium") clwidth(thick) clcolor(black) name(b3)
twoway line taxr year if country=="Canada" & year<2008,
title("Canada") clwidth(thick) clcolor(black) name(b4)
twoway line taxr year if country=="Chile" & year<2008, title("Chile")
clwidth(thick) clcolor(black) name(b5)
twoway line taxr year if country=="Czech Republic" & year<2008,
title("Czech Republic") clwidth(thick) clcolor(black) name(b6)
twoway line taxr year if country=="Denmark" & year<2008,
title("Denmark") clwidth(thick) clcolor(black) name(b7)
twoway line taxr year if country=="Estonia" & year<2008,
title("Estonia") clwidth(thick) clcolor(black) name(b8)
twoway line taxr year if country=="Finland" & year<2008,
title("Finland") clwidth(thick) clcolor(black) name(b9)
twoway line taxr year if country=="France" & year<2008,
title("France") clwidth(thick) clcolor(black) name(b10)
twoway line taxr year if country=="Germany" & year<2008,
title("Germany") clwidth(thick) clcolor(black) name(b11)
twoway line taxr year if country=="Greece" & year<2008,
title("Greece") clwidth(thick) clcolor(black) name(b12)
twoway line taxr year if country=="Hungary" & year<2008,
title("Hungary") clwidth(thick) clcolor(black) name(b13)
twoway line taxr year if country=="Iceland" & year<2008,
title("Iceland") clwidth(thick) clcolor(black) name(b14)
twoway line taxr year if country=="Ireland" & year<2008,
title("Ireland") clwidth(thick) clcolor(black) name(b15)
twoway line taxr year if country=="Israel" & year<2008,
title("Israel") clwidth(thick) clcolor(black) name(b16)
twoway line taxr year if country=="Italy" & year<2008, title("Italy")
clwidth(thick) clcolor(black) name(b17)
twoway line taxr year if country=="Japan" & year<2008, title("Japan")
clwidth(thick) clcolor(black) name(b18)
twoway line taxr year if country=="Korea, Republic of" & year<2008,
title("Korea, Republic of") clwidth(thick) clcolor(black) name(b19)
twoway line taxr year if country=="Luxembourg" & year<2008,
title("Luxembourg") clwidth(thick) clcolor(black) name(b20)
twoway line taxr year if country=="Mexico" & year<2008,
title("Mexico") clwidth(thick) clcolor(black) name(b21)
twoway line taxr year if country=="Netherlands" & year<2008,
title("Netherlands") clwidth(thick) clcolor(black) name(b22)
twoway line taxr year if country=="New Zealand" & year<2008,
title("New Zealand") clwidth(thick) clcolor(black) name(b23)
twoway line taxr year if country=="Norway" & year<2008,
title("Norway") clwidth(thick) clcolor(black) name(b24)
twoway line taxr year if country=="Poland" & year<2008,
title("Poland") clwidth(thick) clcolor(black) name(b25)
twoway line taxr year if country=="Portugal" & year<2008,
title("Portugal") clwidth(thick) clcolor(black) name(b26)
twoway line taxr year if country=="Slovak Republic" & year<2008,
title("Slovak Republic") clwidth(thick) clcolor(black) name(b27)
twoway line taxr year if country=="Slovenia" & year<2008,
title("Slovenia") clwidth(thick) clcolor(black) name(b28)
twoway line taxr year if country=="Spain" & year<2008, title("Spain")
clwidth(thick) clcolor(black) name(b29)
twoway line taxr year if country=="Sweden" & year<2008,
title("Sweden") clwidth(thick) clcolor(black) name(b30)
twoway line taxr year if country=="Switzerland" & year<2008,
title("Switzerland") clwidth(thick) clcolor(black) name(b31)
twoway line taxr year if country=="Turkey" & year<2008,
title("Turkey") clwidth(thick) clcolor(black) name(b32)
twoway line taxr year if country=="United Kingdom" & year<2008,
title("United Kingdom") clwidth(thick) clcolor(black) name(b33)
twoway line taxr year if country=="United States" & year<2008,
title("United States") clwidth(thick) clcolor(black) name(b34)
graph combine b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14 b15 b16
b17 b18 b19 b20 b21 b22 b23 b24 b25 b26 b27 b28 b29 b30 b31 b32 b33
b34, row(6)

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


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