[sage-support] Re: Exporting data from sage notebook

2012-04-12 Thread Eric Kangas
However Cantor doesn't allow for indentations. when it comes to loops for sage. On Friday, April 6, 2012 5:06:56 PM UTC-7, Maarten Derickx wrote: > > Yes the last few lines should read: > > > for r in p: > output.writerow(r) > del o > > > Python is indentation sensitive and uses it to determi

Re: [sage-support] Contour plots of data points...

2012-04-12 Thread Vincent Knight
Thanks Jason that's perfect! Very much appreciated. Vince On Thursday, 12 April 2012, Jason Grout wrote: > On 4/12/12 11:20 AM, Vince wrote: > >> Hi all, >> >> I've looked at the help files for contour plots: >> >> http://www.sagemath.org/doc/**reference/sage/plot/contour_**plot.html

[sage-support] Re: Contour plots of data points...

2012-04-12 Thread Jason Grout
On 4/12/12 11:20 AM, Vince wrote: Hi all, I've looked at the help files for contour plots: http://www.sagemath.org/doc/reference/sage/plot/contour_plot.html and it's very clear how to produce contour plots of functions but I'm struggling to produce such a plot of data points. The example in th

Re: [sage-support] Re: is_strongly_connected bug for directed graphs

2012-04-12 Thread Jan Groenewald
Hi On 12 April 2012 17:23, Daniel Krenn wrote: > Am 2012-04-12 17:03, schrieb Jan Groenewald: > > Hi > > > > On 12 April 2012 16:36, P Purkayastha > > wrote: > > > > Did you plot it and see the graph? Maybe this is not the graph you > > wanted? The following com

Re: [sage-support] Re: is_strongly_connected bug for directed graphs

2012-04-12 Thread Daniel Krenn
Am 2012-04-12 17:03, schrieb Jan Groenewald: > Hi > > On 12 April 2012 16:36, P Purkayastha > wrote: > > Did you plot it and see the graph? Maybe this is not the graph you > wanted? The following command will plot the graph for you (it looks > strongly connec

[sage-support] Contour plots of data points...

2012-04-12 Thread Vince
Hi all, I've looked at the help files for contour plots: http://www.sagemath.org/doc/reference/sage/plot/contour_plot.html and it's very clear how to produce contour plots of functions but I'm struggling to produce such a plot of data points. The example in the help file is as follows: sage:

Re: [sage-support] Re: is_strongly_connected bug for directed graphs

2012-04-12 Thread Jan Groenewald
Hi On 12 April 2012 16:36, P Purkayastha wrote: > Did you plot it and see the graph? Maybe this is not the graph you wanted? > The following command will plot the graph for you (it looks strongly > connected to me). > > d1.show() > Yes, we plotted it, and it is the intended graph. The wikipedi

Re: [sage-support] Re: 3d plotting using Jmol: black screen of death

2012-04-12 Thread P Purkayastha
FYI, I have not had a failing jmol for well over a year on Linux - Gentoo Linux x64 and Ubuntu minimal 11.10 (which was earlier 11.04). In both machines I run sun java. Currently on the Gentoo machine the java is sun-jdk-1.6.0.31. On Wednesday, April 11, 2012 10:23:11 PM UTC+8, Benjamin Jones w

[sage-support] Re: is_strongly_connected bug for directed graphs

2012-04-12 Thread P Purkayastha
Did you plot it and see the graph? Maybe this is not the graph you wanted? The following command will plot the graph for you (it looks strongly connected to me). d1.show() On Thursday, April 12, 2012 9:55:59 PM UTC+8, Samah Mohamed Osman Hassan Taha wrote: > > Hi > > sage: d1 = DiGraph({0:[1,

[sage-support] is_strongly_connected bug for directed graphs

2012-04-12 Thread Samah Mohamed Osman Hassan Taha
Hi sage: d1 = DiGraph({0:[1,2],1:[2],2:[1,0]}) sage: d1.is_strongly_connected() True This graph should be connected but not strongly connected, by http://en.wikipedia.org/wiki/Directed_graph#Digraph_connectivity Or does Sage define strongly connected for digraphs differently? Regards, Samah --

Re: [sage-support] Re: How to substitute a list of equalities into a formula?

2012-04-12 Thread ancienthart
On Wednesday, 11 April 2012 03:11:03 UTC+10, Michael Orlitzky wrote: > > On 04/09/12 22:18, ancienthart wrote: > > Hah. Thanks Michael and P. I first learnt Python in the 1.5 era, so > > there's a few of the nice new syntax features I'm still not up to speed > on. > > Any reason why .subs doesn't

Re: [sage-support] Will Sage 4.8 run on Scientific Linux 5.4?

2012-04-12 Thread David Kirkby
On 10 April 2012 19:15, rvaug...@gmail.com wrote: > Sage 4.3.4 runs fine on SL 5.4. > > Sage 4.8 complains: > (/lib64/libc.so.6: version `GLIBC_2.14' not found ). > > -Richard Vaughn As Dima suggested, you are using an old version, but the fact you say it working on a later version, suggested you