Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Size of dots in a scatter plot


From   Nick Cox <njcoxstata@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: Size of dots in a scatter plot
Date   Wed, 10 Apr 2013 11:59:59 +0100

The -ms()- option belongs with the -scatter-. Try

twoway (scatter lsFR lsUS, msymbol(o) msize(vtiny))
(mband lsFR lsUS) if sUS+sFR < .

Nick
njcoxstata@gmail.com


On 10 April 2013 11:49, Estrella Gomez <estrellastata@gmail.com> wrote:

> I would like to make a graph combining the scatters with a median
> band. However, since I have many observations, I would like to obtain
> smaller dots in the graph. The command with normal size, that works
> without problem, is:
>
> twoway (scatter lsFR lsUS) (mband lsFR lsUS) if sUS+sFR~=.
>
> If I specify
>
> twoway (scatter lsFR lsUS) (mband lsFR lsUS) if sUS+sFR~=., msymbol(o)
> msize(vtiny)
>
> I obtain the answer "option msymbol() not allowed". Does anybody know
> how should I specify this option?
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index