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: graphing question - how to smooth lines connecting observations


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: RE: graphing question - how to smooth lines connecting observations
Date   Tue, 13 Apr 2010 23:30:24 +0200

<>

Not all Statalisters may want to speculate on what other applications do,
and your misspelling their name may further discourage answers. So the way
forward for you is to spell out clearly, preferably using a dataset shipped
with Stata, what you want your graph to look like/which features you dislike
and want to change. Take as an example this one:

*******
sysuse auto, clear
gen byte number=_n
tw (connected displacement number, sort)
*******


HTH
Martin


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Zamira S
Sent: Dienstag, 13. April 2010 23:11
To: [email protected]
Subject: st: graphing question - how to smooth lines connecting observations


I am trying to generate a graph with smooth-looking lines connecting the
observations. In excell it is an option but I am trying to avoid going back
and force between excell and stata. Any suggestions would be greatly
appreciated. Here is what I have:
 
twoway (connected growth timeline, lcolor(black) lpattern(solid)
lwidth(medthin) msymbol(circle) mcolor(black)), ytitle(GDP per capita
growth) yline(0 2, lwidth(vvvthin) lcolor("192 192 192")) xtitle(Time)
xlabel(-3(1)9) xline(-0.1 1.1 5.1, lcolor("87 87 87") lpattern(dash))
title(GDP Per Capita Growth (%)) subtitle(Constant US$) saving(growth,
replace)
 
Thank you
Zamira 		 	   		  
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:W
L:en-US:WM_HMP:042010_1
*
*   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