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: RE: -scatter and alpha-blending


From   Francesco <[email protected]>
To   [email protected]
Subject   Re: st: RE: -scatter and alpha-blending
Date   Fri, 28 Sep 2012 00:41:10 +0200

thank you very much!

On 28 September 2012 00:35, David Radwin <[email protected]> wrote:
> Unfortunately, Stata doesn't have transparent fills for scatterplot
> markers, but you might be able to fashion a workaround similar to p. 605
> of:
>
> Stata tip 27: Classifying data points on scatter plots
>     N. J. Cox. 2005.
>     Stata Journal Volume 5 Number 4.
> http://www.stata-journal.com/article.html?article=gr0023
>
> The key would be to identify the observations that are completely
> overlapping and make the markers darker in proportion to their relative
> frequency.
>
> If there are no or few completely overlapping points, an approach that
> might work is using hollow circles as markers (msymbol(Oh) or
> msymbol(oh)), because circles minimize overplotting.
>
> David
> --
> David Radwin
> Senior Research Associate
> MPR Associates, Inc.
> 2150 Shattuck Ave., Suite 800
> Berkeley, CA 94704
> Phone: 510-849-4942
> Fax: 510-849-0794
>
> www.mprinc.com
>
>
>> -----Original Message-----
>> From: [email protected] [mailto:owner-
>> [email protected]] On Behalf Of Francesco
>> Sent: Thursday, September 27, 2012 3:13 PM
>> To: [email protected]
>> Subject: st: -scatter and alpha-blending
>>
>> Dear Statalist,
>>
>> I would like to know whether it is possible to obtain in Stata a
>> scatterplot
>> with so called "alpha blending" :the markers are slightly transparent so
>> that darker regions in the graph have a higher point density...
>> Very much like this (In R) :
>> http://stackoverflow.com/questions/7714677/r-scatterplot-with-too-many-
>> points
>>
>> What do you think?
>>
>> Many thanks!
> *
> *   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/
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index