Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Schaffer, Mark E" <M.E.Schaffer@hw.ac.uk> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | RE: st: Bubble graph line style question |
Date | Mon, 7 Feb 2011 10:55:20 -0000 |
Thanks, Martin, that's very helpful. And I can add -mlwidth(vvthin)- to make the bubbles even fainter. Cheers, Mark > -----Original Message----- > From: owner-statalist@hsphsun2.harvard.edu > [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of > Maarten buis > Sent: Monday, February 07, 2011 8:10 AM > To: statalist@hsphsun2.harvard.edu > Subject: Re: st: Bubble graph line style question > > --- 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/ > -- Heriot-Watt University is a Scottish charity registered under charity number SC000278. * * 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/