Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Twoway line graph with varying symbol sizes


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Twoway line graph with varying symbol sizes
Date   Thu, 20 May 2004 10:51:00 +0100

Try 

. twoway connect A E [w=a] , ms(oh) || connect B E [w=b] , ms(Dh) || connect C 
E [w=c] , ms(Th) || ... 

Nick 
n.j.cox@durham.ac.uk 

SamL
 
> I am trying to make a twoway line graph that has 5 variables: 
> A, B, C, D,
> and E, with E being the x-axis.  I want the size of symbols to vary
> according to the values in variables a, b, c, and d.
> 
> When I try twoway scatter, I cannot figure out how to specify aweights
> when there are multiple variables.  And, of course, I need to 
> connect the symbols with lines.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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   |   What's new   |   Site index