Wikipedia says that a ternary plot is:
a barycentric plot on three variables
which sum to a constant
A barycentric plot takes three variables, which sum to 1, as parameters. So first things first divide your three inputs by their sum.
Now that you have three numbers which sum to one, you can plot a barycentric point. To do this simply multiply the position of one of the points on the triangle by the first numbers, multiply the second point on the triangle by the second number, and the third by the third. Then sum then all together, this is the position you should plot on the graph.
public Vector2 CalculateCoordinate(float a, float b, float c)
{
float sum = a + b + c;
a /= sum;
b /= sum;
c /= sum;
return Triangle.Corner1Position * a
+ Triangle.Corner2Position * b
+ Triangle.Corner3Position * c;
}