Nikos Apostolakis wrote:
> Hello,
> 
> is there a way to get the the coordinates of the points where the
> vertices of a graph would be placed if drawn via plot2d or plot3d?


If the layout is already computed, the coordinates can be retrieved with 
get_pos() (and changed with set_pos())

sage: g=graphs.PathGraph(4)
sage: g.get_pos()
{0: [0, 0], 1: [1, 0], 2: [2, 0], 3: [3, 0]}

Thanks,

Jason


--~--~---------~--~----~------------~-------~--~----~
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