Keith_Edmonds: Keith_Edmonds: Did you do this on your own or is this taken from somewhere?

I mostly made it except for for the part that turns the pixel color values into an image file, I just copied the code from this video since I’m not failure with the format for ppm files. Unfortunately it creates the files in ppm format since the more common image file formats like png require writing a header section of the file that has various bits that you need to set so creating ppm files is alot easier. To get them as pngs I have to take the ppm images to this free online ppm to png converter (it’s not actually free since there is a limit to how many files it will let you convert for free without purchasing an account but when it gets to that point I just delete that page’s cookies so it doesn’t remember how many times I used it).

Keith_Edmonds: Keith_Edmonds: I am colour blind so I am having trouble interpreting the meaning of each color.

In each of the apportionment method ternary plots (which plot 3 variables that sum to a constant using barycentric coordinates) plots, regions in each corner represent all the of compositions of voters in which that method will award all the seats to the party corresponding to that corner. The two regions adjacent to each corner region depict all the electorates in which that party wins all but one of the seats and which of the other two corners each of those two regions are closer two depict which of the other two parties wins that remaining seat. If you pick one of those two regions and go to one of the next to adamant regions, that party will lose another seat to one of the two other regions depending on what direction you moved in.

Keith_Edmonds: Keith_Edmonds: Can you provide a legend?

3,0,0, 2,0,1, 1,0,2, 0,0,3,

2,1,0, 1,1,1, 0,1,2,

1,2,0, 0,2,1

0,3,0,

I’ll also try to add boundries to the different regions in the future if you have problems seeing some of those. If you are blue yellow colorblind you can also turn on the blue light filter on your computer or phone so you can see the different shades.

Keith_Edmonds: Keith_Edmonds: SSS is Hamilton but also Monroe (I Think)

Monroe reduces to Hamiton.

Keith_Edmonds: Keith_Edmonds: What is sequential Monroe?

Hamilton

Keith_Edmonds: Keith_Edmonds: If it is Hamilton then does that mean it suffers this flaw?

Yep.

These ternary plots are also what I used in the derivation of PAV from some desirable criteria I told you about on loomio (though for that I was using paper and graph paper and doing it all manually). In the future I’m planning on to use this code to plot multi-winner voting methods under different groups of voters to see how their different flaws look geometrically.