TernaryMeshCentroids | R Documentation |
Segment an equilateral triangle into k^2 equilateral sub-triangles and return the barycentric centroid coordinates of each sub-triangle.
TernaryMeshCentroids(k)
k |
Number of rows in the segmented equilateral triangle. |
A numeric matrix of with index and barycentric centroid coordinates of regions id=1,...,k^2.
S. H. Derakhshan and C. V. Deutsch (2009): A Color Scale for Ternary Mixtures.
# NOTE: only intended for internal use and not part of the API
tricolore:::TernaryMeshCentroids(1)
tricolore:::TernaryMeshCentroids(2)
tricolore:::TernaryMeshCentroids(3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.