These functions are used to plot positional election results. They locate the points where positional tie lines intersect edges of the ternary diagram.
1 2 3 4 5 6 7 8 9 | from_point_in_xyz_form_v2(pxy, pyx, s)
to_point_in_xyz_form_v2(pxy, pyx, pzx, pzy, s)
point_mat_in_xyz_form_v2(p_vec, s)
ternary_point_mats_from_p_vec_and_s_v2(p_vec, s)
ternary_point_mats_from_p_vec_and_s_v3(p_vec, s)
|
pxy, pyx, pzx, pzy |
Second preference shares. e.g. |
s |
The score given to second-ranked candidates in the positional method. |
p_vec |
A vector of second preference shares. If candidates are A, B, and C (plotted at lower left, top, and lower right), then |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.