Re: [sage-support] Re: Graph plotting problem. Everything looks small.

2013-01-13 Thread crushinator
Here is a picture of the problem. The vertices are too small and the edge arrows are too big. I can't tell anything that is going on. I tried increasing figsize, vertex_size, and the dpi you suggested. I cannot figure out why this won't work. Any help is greatly appreciated. Thank you.

[sage-support] Can't upload .sws

2013-01-13 Thread Roger Frye
I downloaded the number_theory.primes_diophantine_equations.1.0.swshttp://wiki.sagemath.org/days13/projects/sagenewbie?action=AttachFiledo=viewtarget=number_theory.primes_diophantine_equations.1.0.sws sage worksheet from the Sage Primers http://wiki.sagemath.org/days13/projects/sagenewbie

Re: [sage-support] Can't upload .sws

2013-01-13 Thread John Cremona
While you certainly should be able to upload worksheets to your notebook like this, I fear that this particular worksheet was created in 2009 and a lot has changed since then, so current Sage cannot open it. Someone else might give a hint about how to convert the worksheet. John Cremona On 13

[sage-support] Re: Can't upload .sws

2013-01-13 Thread P Purkayastha
You can get some of the information from the worksheet like this: 1. Open the sws file using tar: tar jxf number_theory*.sws It creates a directory named 38. 2. Then open a new worksheet in your sage notebook. 3. Click on Edit which will show you an area to enter plain text. Delete whatever

[sage-support] Re: Can't upload .sws

2013-01-13 Thread Roger Frye
Amazing! Thank you. On Sunday, January 13, 2013 11:37:02 AM UTC-7, P Purkayastha wrote: You can get some of the information from the worksheet like this: 1. Open the sws file using tar: tar jxf number_theory*.sws It creates a directory named 38. 2. Then open a new worksheet in your

Re: [sage-support] Re: Graph plotting problem. Everything looks small.

2013-01-13 Thread Nathann Cohen
Hell !!! You problem may be solved by copying the graph's edges first : dg2 = DiGraph() dg2.add_edges(dg.edges()) dg2.show() If it changes nothing there's not much that I can do unless you give us a way to create your graph on our computers :-) Nathann On Sunday, January 13, 2013

Re: [sage-support] Re: Graph plotting problem. Everything looks small.

2013-01-13 Thread crushinator
Hi Nathann. Unfortuantely, I didn't get any difference. Here is a way to create the graph: CG = DiGraph() CG.add_edges([(0, 36, None), (1, 48, None), (2, 14, None), (3, 22, None), (4, 5, None), (4, 56, None), (5, 4, None), (6, 8, None), (6, 27, None), (7, 8, None), (8, 6, None), (8, 7, None),