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

st: -msplot- available from SSC


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: -msplot- available from SSC
Date   Wed, 10 Sep 2003 16:00:36 +0100

Thanks to Kit Baum, a new package -msplot- for Stata 8 may
now be installed from SSC.

-msplot- is a convenience command which makes it easier
to draw the equivalent of

twoway mspline y1 x || mspline y2 x || mspline y3 x

If you wanted to do that, and typed that, then you have to type
more than you want, and -- what is even more irritating -- the default
y title and legend will not seem good.

You can do this instead

msplot y1 y2 y3 x

In addition, you can do things like this:

msplot y1 y2 y3 x, clcolor(red green blue)

or like this

msplot y1 y2 y3 x, clcolor(red green blue)
	plot(scatter y1 y2 y3 x, mcolor(red green blue))

(OK, so this name may provoke some feeble jokes about
a certain software company. I really didn't want to
call it -msplineplot-.)

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

*
*   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–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index