TRIPLOT: Stata module to generate triangular plots
Nicholas Cox
Statistical Software Components from Boston College Department of Economics
Abstract:
triplot produces a triangular plot of the three variables leftvar, rightvar and botvar, which are plotted on the left, right and bottom sides of an equilateral triangle. Each should have values between 0 and some maximum value (default 1) and the sum of the three variables should be equal to that maximum (within rounding error). Most commonly, three fractions or proportions add to 1, or three percents add to 100. The constraint that the three variables have a constant sum means that there are just two independent pieces of information. Hence it is possible to plot observations in two dimensions. Triangular plots appear under various names in the literature, including trilinear, triaxial, three-element maps, ternary, reference triangles, percentage triangles, mixture, facies, barycentric. This is version 2.2.0 of the software written for Stata 8. The previous version, written for Stata 6, is also included as triplot6.
Language: Stata
Requires: Stata version 9.0 (6.0 for triplot6)
Keywords: graphics; triangular plots; trilinear plots; ternary plots; triaxial plots (search for similar items in EconPapers)
Date: 1998-05-04, Revised 2009-02-09
Note: This module may be installed from within Stata by typing "ssc install triplot". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/t/triplot.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/t/triplot.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/t/triplot6.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/t/triplot6.hlp help file (text/plain)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s342401
Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php
Access Statistics for this software item
More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().