[sage-support] Re: drawing graphs

2009-06-16 Thread Robert Miller
> Please -- Emily and Robert -- don't be at all offended by this email. > You two have both dramatically improved graph plotting in Sage over > what networkx offers, and Emily's predesigned layouts for the graph > families are beautiful.    I just think it is important to acknowledge > that on ran

[sage-support] Re: drawing graphs

2009-06-16 Thread mark mcclure
On Jun 16, 2:36 am, Rado wrote: > > Here, for example, is the Cayley graph of the alternating group A5: > > > A = AlternatingGroup(5) > > G = Graph(A.cayley_graph()) > > s = G.graphviz_string() > > f = open('graphfile.dot', 'w') > > f.write(s) > > f.close() > > Actually for this example graphviz'

[sage-support] Re: drawing graphs

2009-06-15 Thread Rado
> Here, for example, is the Cayley graph of the alternating group A5: > > A = AlternatingGroup(5) > G = Graph(A.cayley_graph()) > s = G.graphviz_string() > f = open('graphfile.dot', 'w') > f.write(s) > f.close() > Actually for this example graphviz's neato (i.e. spring model) doesn't do much bett

[sage-support] Re: drawing graphs

2009-06-15 Thread William Stein
On Tue, Jun 16, 2009 at 12:27 AM, mark mcclure wrote: > > On Jun 15, 10:38 am, William Stein wrote: >> On Mon, Jun 15, 2009 at 12:55 PM, Dominique >> Manchon wrote: >> >> > Hello! >> >> > I'm a newcomer into Sage and Python. When I want to draw some >> > graphical representation of graphs I get p

[sage-support] Re: drawing graphs

2009-06-15 Thread mark mcclure
On Jun 15, 10:38 am, William Stein wrote: > On Mon, Jun 15, 2009 at 12:55 PM, Dominique > Manchon wrote: > > > Hello! > > > I'm a newcomer into Sage and Python. When I want to draw some > > graphical representation of graphs I get problems > > Despite years of work, drawing graphs in Sage is stil

[sage-support] Re: drawing graphs

2009-06-15 Thread William Stein
On Mon, Jun 15, 2009 at 12:55 PM, Dominique Manchon wrote: > > Hello! > > I'm a newcomer into Sage and Python. When I want to draw some > graphical > representation of graphs I get problems : the vertices are partially > cut-off. They almost disappear when the graph looks like a vertical > ladder.

[sage-support] Re: Drawing graphs with color coded edge labels

2008-05-21 Thread Nikos Apostolakis
Hi, sorry for the late reply -- it's final's week. "William Stein" <[EMAIL PROTECTED]> writes: > On Sat, May 17, 2008 at 2:26 PM, Nikos Apostolakis <[EMAIL PROTECTED]> wrote: >> >> And a more general question. I generated this graph as follows: I have >> a group G with two generators acting on

[sage-support] Re: Drawing graphs with color coded edge labels

2008-05-17 Thread William Stein
On Sat, May 17, 2008 at 2:26 PM, Nikos Apostolakis <[EMAIL PROTECTED]> wrote: > > Hello, > > I have a directed graph with edges labeled using two different labels. > Is it possible to draw this graph (2D or 3D) using two different colors > to signify the different labels, eg red for one label and

[sage-support] Re: Drawing graphs with color coded edge labels

2008-05-17 Thread Nikos Apostolakis
Nikos Apostolakis <[EMAIL PROTECTED]> writes: > Hello, > > I have a directed graph with edges labeled using two different labels. > Is it possible to draw this graph (2D or 3D) using two different colors > to signify the different labels, eg red for one label and green for the > other? I seem t