Skip to content

Vertex labelling/plot order incorrect #13

@akshaymehra

Description

@akshaymehra

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');

incorrect
where C is now 10%, B is 30%, and A is 60%.
Labeling in this order, on the other hand,:

vertexlabel( 'B', 'C', 'A');

correct
gives us the correct plot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions