Statalist The Stata Listserver


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

st: Two Axis Graphing


From   "Benjamin Allaire" <btallaire@hotmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Two Axis Graphing
Date   Tue, 11 Jul 2006 10:32:24 -0500

:01C6A4FF]
Sender: owner-statalist@hsphsun2.harvard.edu
Precedence: bulk
Reply-To: statalist@hsphsun2.harvard.edu
Errors-To: statalist-owner@hsphsun2.harvard.edu
Hi Statalist -
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!).

As always, I'm greatly appreciative of any help.

Thanks,
Ben

_________________________________________________________________
Don=92t just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

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