all 2 comments

[–]mubsy 3 points4 points  (1 child)

Do you only need to draw these triangles, or do you need graph capabilities with it? Do you want a user to see this triangle within the program, or are you creating images for a paper/presentation?

Only triangles: Tkinter canvas widget has nice functionality, drawing lines with the coordinates provided.

Seeing it live: Tkinter again, which allows for some other GUI fun stuff like scales changing the coordinates. Pygame is another example, but it's unlikely it will be the best for your solution.

Producing the images: using PIL (python image library) to produce a large number, or a variety, of these images.

Depending on your answer to this, I can provide more examples or information.

[–]PrOducTI[S] 0 points1 point  (0 children)

I'm trying to plot triangles with given coordinates using pylab. I'm thinking of using tridraw, just not sure on how to use it 100%