An n-dimensional simplex is a subspace of R^n with codimension 1, therefore n-1 coordinates are enough to represent any point on the simplex. A 2D simplex can be plotted as a ternary plot.

learn more… | top users | synonyms

0
votes
0answers
77 views

Plotting the solutions of a system of differential equations on a simplex

I want to solve and plot the solutions of the following system on the triangle simplex: x'[t] == x[t]*(2*x[t] - 2) y'[t] == y[t]*(2*x[t]) z'[t] == z[t]*(2*x[t]) ...
2
votes
2answers
257 views

region plot in a 2-simplex

I want to plot a 2-dimensional region with constraint $x+y\le N$, i.e., I want to plot a sub-region inside a 2-simplex. As an example: ...
4
votes
2answers
174 views

Manipulate Controller - Simplex

Imagine you have three numbers a, b and c, and using ...
1
vote
1answer
112 views

How to obtain dual values? in Simplex(LinearProg.) and… the final tableau? [closed]

I can resolve the function value and the primal values in Linear Programming like in (* Examen de avións Sept 2003 *) ...
1
vote
1answer
400 views

Plot in a 2-dimensional simplex

I have a row vector as $P=(p_1,p_2,p_3)$ which should be obtained from the following constraints: $a_1p_1 + a_2p_2 + a_3p_3 = b_1p_1 + b_2p_2 + b_3p_3$ ($a_i$'s and $b_i$'s are known) $p_1 + p_2 + ...
25
votes
5answers
1k views

How to plot ternary density plots?

How can I get a ternary density plot just like the plots from OriginLab? ContourPlot and DensityPlot seemingly can solve the ...
5
votes
1answer
223 views

Generate regularly spaced points from the surface of simplexes

I need to generate regularly spaced samples (points) from the surface of unit simplexes with 2 or greater vertices or end points. I can generate random samples pretty straightforwardly: ...
11
votes
2answers
664 views

How to plot a barycentric line

I want to plot a barycentric function on an equilateral triangle (ternary plot). For example f1 = {Abs[Sin[x]], Mod[x, 2], Abs[Cos[x]]}; At the moment I evaluate ...