I have been trying to replicate Matlab's patch() function
(reference url: http://www.mathworks.com/help/techdoc/ref/patch.html) with numpy and wxpython.
The ultimate goal is to replicate the functionality of following line in python:
It is a 2D patch function which draws triangular polygons.
I am familiar with using wxPython for simple GUI and rectangle and circles, but this is my first time trying to work with polygons and create 3D to 2D transformations from a raw file in python (without using OpenGL libraries)
Please let me know if you can show me an example of how to utilize the drawpolygon() in wxpython.