[sage-support] Jmol will not display graphics

2009-09-11 Thread wkehowski
Hello, When I try to execute var('x y z') implicit_plot3d(x^2+y^2+z^2==4, (x, -3, 3), (y, -3,3), (z, -3,3)) within http://www.sagenb.org using Firefox the Jmol applet apparently loads but then gives the message 'Jmol script terminated' (lower left corner of browser). Here is the error from the

[sage-support] Re: loading in a list or list of lists from a file

2009-06-05 Thread wkehowski
Yes, I got it to work! Thanks! On Jun 5, 7:27 pm, Mike Hansen wrote: > Hello, > > On Fri, Jun 5, 2009 at 7:24 PM, wkehowski wrote: > > > Changing data.sage to > > > T[0]=([1, 2, 3, 4], [5, 6, 7], [8, 9, 10, 11], [13, 14]) > > T[1]=([1, 2, 3, 4], [5, 6, 7], [

[sage-support] Re: loading in a list or list of lists from a file

2009-06-05 Thread wkehowski
Here is the error message: 11 T[1]=([1, 2, 3, 4], [5, 6, 7], [12], [13, 14]) 12 ---> 13 for x in T(_sage_const_0 ): print x 14 15 TypeError: 'dict' object is not callable On Jun 5, 7:27 pm, Mike Hansen wrote: > Hello, > > On Fri, Jun 5, 2009 at 7:

[sage-support] Re: loading in a list or list of lists from a file

2009-06-05 Thread wkehowski
Changing data.sage to T[0]=([1, 2, 3, 4], [5, 6, 7], [8, 9, 10, 11], [13, 14]) T[1]=([1, 2, 3, 4], [5, 6, 7], [12], [13, 14]) gives the error NameError: name 'T' is not defined On Jun 5, 6:18 pm, wkehowski wrote: > File data.sage (without #): > > ## > T(0)=([1, 2, 3, 4]

[sage-support] Re: loading in a list or list of lists from a file

2009-06-05 Thread wkehowski
hat is the problem? Thanks in advance. Walter Kehowski On Jun 5, 12:42 pm, wkehowski wrote: > Hello, > > I would like to create a file T.sage or T.txt, say, with lines like > > T(0)=(1,2,3,4) > T(1)=(5,6,7,8) > > or possibly > > T(0)=((1,2),(3,4),(5)) > T(1)=((6,7)

[sage-support] loading in a list or list of lists from a file

2009-06-05 Thread wkehowski
Hello, I would like to create a file T.sage or T.txt, say, with lines like T(0)=(1,2,3,4) T(1)=(5,6,7,8) or possibly T(0)=((1,2),(3,4),(5)) T(1)=((6,7),(8,9),(10)) (or each line just a tuple or tuple of tuples, etc.) and be able consider this as defining T as function from range(0..q) to tup