Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Two Axis Graphing


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Two Axis Graphing
Date   Tue, 11 Jul 2006 20:46:06 +0100

Hmm. I hate that (graph) (graph) notation, which reminds 
me that I never got into LISP or Scheme programming
seriously. 

I think you've confused Stata. Try putting a comma
in front of the -title()- option. 

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

P.S. one parenthesis, two parentheses. 

Benjamin Allaire 

> I have a question regarding two axis graphing.  I've 
> specified the action
> below - I tried to mimic the help file in stata, but I can't 
> figure out wha=
> t
> I've done wrong I keep getting an error.
> 
> #delimit;
> twoway  (scatter p90_10 year, c(l) ms(O) lp(l) yaxis(1))
>           (scatter p90_50 year, c(l) ms(O) lp(-) yaxis(1))
>           (scatter mean   year, c(l) ms(O) lp(_) yaxis(2))
>           (scatter median year, c(l) ms(O) lp(.) yaxis(2))
> title("Figure 1")
> subtitle("Inequality in Major League Baseball Salaries
> 1985-2005")
> ;
> #delimit cr
> 
> ) required
> r(100);
> 
> I'm just confused about what to do (I've tried putting extra 
> parenthesis
> everywhere!).

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