Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: Bubble graph line style question


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: Bubble graph line style question
Date   Mon, 7 Feb 2011 08:10:28 +0000 (GMT)

--- On Sun, 6/2/11, Schaffer, Mark E wrote:
>  I'm trying to tweak a "bubble graph", i.e., a
> scatterplot where the markers are proportional to some
> variable and hollow (=bubble-like).
> 
> There are a lot of points to plot and the effect is
> overwhelming, so I want the outline of the bubbles to
> be dashed or dotted or something like that.  But I
> can't get the -mlstyle- option to do this.  The bubble
> outlines look thin but solid.
> 
> Here's an example using the auto dataset.  If I say
> mlstyle(dot),
> 
> twoway (scatter price mpg [aw=displacement], msymbol(Oh)
> mlstyle(dot) )

I think that the reason is that with -mlstyle- you set the
style of the line and not the linepattern. For the difference
compare -help linestyle- with -help linepatternstyle-. 

One way that I often use to "push back" some too dominant 
graphical element is to make it grey. To use your example:

*------------------ begin example --------------------
sysuse auto, clear
twoway scatter price mpg [aw=displacement], ///
       msymbol(Oh) mlcolor(gs8) 
*------------------- end example ----------------------

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------



      

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index