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: Venn diagrams
From
Nick Cox <[email protected]>
To
"'[email protected]'" <[email protected]>
Subject
RE: st: RE: Venn diagrams
Date
Sun, 24 Oct 2010 18:04:42 +0100
If the problem is just cross-combinations of three variables, then -tabplot- (SSC) is another way of showing the same information. Also check out -spineplot- (SJ).
Nick
[email protected]
David Elliott
Having not been able to connect to Philip's link, I searched for an
alternate tool and discovered Google's charting API which recreated my
previous Venn with the following url code:
http://chart.apis.google.com/chart
?chf=bg,s,EFEFEF|c,s,FFFFFF
&chs=300x225
&cht=v
&chco=FFFF42,FF0000,3366CC
&chd=t:54.2,34.9,32.1,29.6,29.8,23.4,21.9
&chdl=Alc|Tob|Can
&chma=10,10,10,10
&chtt=Alcohol%2C+Tobacco+and+Cannabis+Use
(reconstitute the URL by removing the breaks before the '?' and '&')
The string t:54.2,34.9,32.1,29.6,29.8,23.4,21.9 is simply the data for
the size of the circles followed by the combined proportions in the
following order: A,B,C,AB,AC,BC,ABC
Part of the beauty of this is that one could write a Stata routine to
append the necessary measurements and then shell to a web browser with
the resultant URL string.
*
* 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/