Re: Fwd: [sage-support] Problems with Graphs

2009-11-20 Thread Nathann Cohen
I'd advise to use the "show" command instead of the plot command and try a show(figsize=[20,20]) ( keep all your other options inside ) ! Nathann -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googleg

Re: Fwd: [sage-support] Problems with Graphs

2009-11-20 Thread Michel
Unfortunately the default graphs turn out to be too small for the size of the labels Is there a canonical way to draw a Graph at (say) twice the default size while retaining the size of the edge labels? I noticed that there is a 'dpi' option for the associate plot object but that changes the

Re: Fwd: [sage-support] Problems with Graphs

2009-11-20 Thread Michel
Thank you! With these options I get decent looking graphs. On Nov 21, 2:19 am, William Stein wrote: > -- Forwarded message -- > From: Kazuo Thow > Date: Fri, Nov 20, 2009 at 2:17 PM > Subject: Re: [sage-support] Problems with Graphs > To: William Stein &g

Fwd: [sage-support] Problems with Graphs

2009-11-20 Thread William Stein
-- Forwarded message -- From: Kazuo Thow Date: Fri, Nov 20, 2009 at 2:17 PM Subject: Re: [sage-support] Problems with Graphs To: William Stein Cc: Kevin Clark Michel, There's an option in the plot() function, edge_labels, which is set to False by default.  If you use

[sage-support] Problems with Graphs

2009-11-20 Thread Michel
I am trying to use the Graph functionality in sage but it does not quite work. I do G=DiGraph({0: {2: '3*x^2'}, 1: {0: '3/x'}, 2: {1: '6*x^2'}}) G.show() A pgn viewer pops up showing the graph indeed. However: (a) The vertex labels are cropped. (b) No edge labels are shown. Am I doing somethin

[sage-support] Problems with Graphs

2009-11-20 Thread Michel
I am trying to use the Graph functionality in sage but it does not quite work. I do G=DiGraph({0: {2: '3*x^2'}, 1: {0: '3/x'}, 2: {1: '6*x^2'}}) G.show() A pgn viewer pops up showing the graph indeed. However: (a) The vertex labels are cropped. (b) No edge labels are shown. Am I doing somethin

[sage-support] Problems with Graphs

2009-11-20 Thread Michel
I am trying to use the Graph functionality in sage but it does not quite work. I do G=DiGraph({0: {2: '3*x^2'}, 1: {0: '3/x'}, 2: {1: '6*x^2'}}) G.show() A pgn viewer pops up showing the graph indeed. However: (a) The vertex labels are cropped. (b) No edge labels are shown. Am I doing somethin