I have implemented a Lemke-Howson algorithm in python and I'd like to be able to show the game polytopes and the path that the algorithm follows graphically. I want something simple like this:
Asked
Active
Viewed 1,326 times
2
-
What format is the data in? – tmthydvnprt Apr 02 '16 at 16:20
-
Please show any attempts you've made so far. – James Buck Apr 02 '16 at 16:22
-
I don't really know where to start from. I've looked for libraries for plotting polytopes and graphics tutorials, but I'm still confused. I just want to be able to draw a picture like these given that I have the coordinates. Any guidance would be appreciated. – Stefan Dimitrov Apr 02 '16 at 16:26
1 Answers
2
There is not a quick solution to plotting polytopes and paths that I know of. However you can plot multiple polygons on once plot and then plot your paths over them. You will need to combine ideas and implementations from the following references:

Community
- 1
- 1

tmthydvnprt
- 10,398
- 8
- 52
- 72