On May 9, 4:16 pm, Rose <[EMAIL PROTECTED]> wrote:
> No I am not sure I need Tuple(). I am trying to draw some polygons on
> the complex plane, so I put the coordinates of the vertex (I am not
> sure it is the good word) in a Turple().
> Do you think there is a better way to do that?

How about something like the following:

cpoints = [0, 1, 1+I]
points = [[real(z), imag(z)] for z in cpoints]
polygon(points).show(figsize=[8,8])

Mark

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to