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 at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: twoway dot plot region


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: twoway dot plot region
Date   Wed, 1 Aug 2012 08:44:53 -0500

Carsten's advice is spot on.

Let's go a bit further.

First, a -twoway dot- without a grid of dots is equivalent to a -scatter-.

scatter price rep78

Second, if you want to show distributions a bit more clearly by
stacking and/or jittering, try

dotplot price, over(rep78)

stripplot price, over(rep78) vertical
stripplot price, over(rep78) vertical stack width(500)

-stripplot- is from SSC.

Nick

On Wed, Aug 1, 2012 at 3:32 AM, Carsten Sauer
<carsten.sauer@uni-bielefeld.de> wrote:

> use the ndots() option:
>
> sysuse auto, clear
> two dot price rep78, ndots(0)

Ivica Rubil:

>> when I draw a  -twoway dot- graph, the whole plot region, apart from the
>> dots of the graph itself, gets filled with a grid of tiny dots. So, does
>> anybody know how to get rid of those?
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index