Ask Your Question

Yayu's profile - activity

2014-06-29 17:31:09 +0200 received badge  Popular Question (source)
2014-06-29 17:31:09 +0200 received badge  Notable Question (source)
2014-06-29 17:31:09 +0200 received badge  Famous Question (source)
2013-01-22 18:04:57 +0200 received badge  Notable Question (source)
2012-02-26 21:03:15 +0200 received badge  Popular Question (source)
2011-09-11 21:04:26 +0200 marked best answer Nothing executes at prompt. (Ubuntu)

It looks like you haven't got gfortran installed; see this sage-support thread.

See also the earlier question here.

2011-09-11 21:04:00 +0200 received badge  Scholar (source)
2011-09-11 21:04:00 +0200 marked best answer Angular gridlines in sage plot

I don't know any option to do that at once, but you can use something like:

var('x y')
line = 2*x + y
p = plot(...)
grid = sum(implicit_plot(line+k,...)  for k in srange(-1,1,0.2))
(p + grid).show()

to add the grid manually.

2011-09-11 20:59:22 +0200 asked a question Jmol not displaying graphics

I am using Sage on Ubuntu with a Firefox browser, however I cannot view anything with plot3d_vector_field() with the jmol viewer. 2D graphics display fine.

Screenshot: http://img855.imageshack.us/img855/21... (Do not have enough Karma to upload images here.)

2011-06-10 17:48:04 +0200 received badge  Editor (source)
2011-06-10 17:47:25 +0200 asked a question Angular gridlines in sage plot

My ubuntu sage installation still has some problems. So I installed it on my mac to get started. I was wondering if there is some way to make non-vertical gridlines in Sage.

For example, I used

show(L,gridlines=True)

for some graphics object L. Now I want to rotate just the y axis gridline by 30 degrees. How can I do it? Thanks.

2011-06-10 13:22:58 +0200 asked a question Nothing executes at prompt. (Ubuntu)

I installed the sagemath software on an Ubuntu machine and nothing executes. I type

sage: notebook()
NameError: name 'notebook' is not defined


sage: 2+3
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/bin/<ipython console> in <module>()

NameError: name 'Integer' is not defined

On opening sage I get the following message. I just installed sage and I have no idea what this means or how to correct it.

----------------------------------------------------------------------
| Sage Version 4.7, Release Date: 2011-05-23                         |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/IPython/ipmaker.pyc in force_import(modname)
     64         reload(sys.modules[modname])
     65     else:
---> 66         __import__(modname)
     67 
     68 

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/bin/ipy_profile_sage.py in <module>()
      5     preparser(True)
      6 
----> 7     import sage.all_cmdline
      8     sage.all_cmdline._init_cmdline(globals())
      9 

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/sage/all_cmdline.py in <module>()
     12 try:
     13 
---> 14     from sage.all import *
     15     from sage.calculus.predefined import x
     16     preparser(on=True)

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/sage/all.py in <module>()
     89 from sage.algebras.all   import *
     90 from sage.modular.all    import *
---> 91 from sage.schemes.all    import *
     92 from sage.graphs.all     import *
     93 from sage.groups.all     import *

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/sage/schemes/all.py in <module>()
     23 from jacobians.all import *
     24 
---> 25 from hyperelliptic_curves.all import *
     26 
     27 from plane_curves.all import *

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/sage/schemes/hyperelliptic_curves/all.py in <module>()
----> 1 
      2 
      3 from constructor import HyperellipticCurve
      4 from hyperelliptic_generic import is_HyperellipticCurve
      5 from kummer_surface import KummerSurface
      6 from invariants import (igusa_clebsch_invariants,
      7                         absolute_igusa_invariants_kohel,

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/sage/schemes/hyperelliptic_curves/constructor.py in <module>()
      9 #*****************************************************************************

     10 
---> 11 from sage.schemes.generic.all import ProjectiveSpace
     12 
     13 from hyperelliptic_generic import HyperellipticCurve_generic

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/sage/schemes/generic/all.py in <module>()
      2 
      3 from spec             import Spec, is_Spec
----> 4 from affine_space     import AffineSpace, is_AffineSpace
      5 from algebraic_scheme import is_AlgebraicScheme
      6 from ambient_space    import is_AmbientSpace

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/sage/schemes/generic/affine_space.pyc in <module>()
     22 from sage.misc.all import latex
     23 
---> 24 import algebraic_scheme
     25 
     26 import ambient_space

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/sage/schemes/generic/algebraic_scheme.pyc in <module>()
    141 import affine_space
    142 import projective_space
--> 143 import toric_variety
    144 import morphism
    145 import scheme

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/sage/schemes/generic/toric_variety.py in <module>()
    234 import sys
    235 
--> 236 from sage.geometry.cone import Cone, is_Cone
    237 from sage.geometry.fan import Fan
    238 from sage.matrix.all import matrix

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local ...
(more)