Skip to content

Vertex labelling/plot order incorrect #13

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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