On Mon, Apr 27, 2009 at 7:45 AM, Robert Miller <r...@rlmiller.org> wrote:
> On Mon, Apr 27, 2009 at 6:47 AM, William Stein <wst...@gmail.com> wrote:
>> Hi Robert,
>>
>> Did you guys every write any code to plot *paths* in graphs?
>
> No, but you can color the edges of the path differently.

That is pretty bad, IMHO.  E.g., try this:

g = graphs.CompleteGraph(5)
g.plot(edge_colors={'red':[(0,1)]})

If you try to color any edges, then it *deletes* all other edges that
aren't colored.

William

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

<<inline: Picture 2.png>>

Reply via email to