ternplot
ternplot copied to clipboard
Vertex labelling/plot order incorrect
Ternplot appears to plot in this order:
c
/ \
/ \
a --- b
But the documentation shows:
b
/ \
/ \
c --- a
To demonstrate, here's a simple plot with A = 10%, B = 60%, and C = 30%:
ternplot(10, 60, 30, 's', 'majors', 10);
If we label it using vertexlabel, we get incorrect labeling:
vertexlabel( 'A', 'B', 'C');
where C is now 10%, B is 30%, and A is 60%.
Labeling in this order, on the other hand,:
vertexlabel( 'B', 'C', 'A');
gives us the correct plot.