Re: [sage-support] Re: high-res 3D graphics

2012-07-31 Thread Volker Braun
There is no pdf output for 3-d graphics, at least not yet. One possibilitty is to use matplotlib's 3-d support directly, though it has some limitations. See http://ask.sagemath.org/question/1503/save-3d-plot-as-vector-format On Tuesday, July 31, 2012 7:47:15 PM UTC-4, robin wrote: > > thanks

Re: [sage-support] Re: high-res 3D graphics

2012-07-31 Thread robin hankin
thanks, but sage gives the following: p=sum([point3d(i[:3],size=10*i[3]^(1/2)) for i in a if i[3]>.1]) p.save("f.pdf") Traceback (click to the left of this block for traceback) ... ValueError: filetype not supported by save() rksh On Wed, Aug 1, 2012 at 9:45 AM, Volker Braun wrote:

[sage-support] Re: ImportError: cannot import name md5

2012-07-31 Thread Volker Braun
Whats the output of "sage -sh ldd local/lib/python/lib-dynload/_hashlib.so"? It should only depend on glibc, keyutils-libs, libselinux, and krb5-libs, which are quite certainly already installed. Its probably easiest to compile your own Sage install. Just first install yum install gcc gcc-gfor

[sage-support] Re: high-res 3D graphics

2012-07-31 Thread Volker Braun
The plot file format is determined by the file extension: sage: plot(ln).save('my-ln-plot.pdf') On Tuesday, July 31, 2012 4:38:44 PM UTC-4, robin wrote: > > How do I produce high-res graphics with sage? The best I can do is > either to click "Get Image", > or p.save(), but these options only

[sage-support] high-res 3D graphics

2012-07-31 Thread robin hankin
Hello. How do I produce high-res graphics with sage? The best I can do is either to click "Get Image", or p.save(), but these options only produce very poor-quality jpeg or png: unacceptable for publication-quality images. I would like a nice sharp pdf or eps or other nice vectorized output t

[sage-support] Sage notebook registration

2012-07-31 Thread Sinead Eliade
Hello, When creating a new account the notebook server supply a challenge for registration. I would like to change the list of the questions on the server -- -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr

[sage-support] ImportError: cannot import name md5

2012-07-31 Thread qwerty6...@chammy.info
I posted this to asksage but have not gotten any responses. I get the following error when I run sage: ERROR:root:code for hash md5 was not found. There is a similar problem posted here: http://ask.sagemath.org/question/1432/code-for-hash-md5-was-not-found-after-fresh-sage and the solution sa

[sage-support] Re: Notebook & ldap: crypto missing etc.

2012-07-31 Thread Maarten Derickx
Le mardi 31 juillet 2012 14:20:14 UTC+2, jori.ma...@uta.fi a écrit : > > I am setting up Sage 5.1 on Ubuntu 12.04. > > I have done > > sage -sh > $ easy_install python-ldap > > and > > cd $SAGE_ROOT/devel > git clone -b ldap https://github.com/rmartinjak/sagenb.git sagenb-ldap > ln -s sage

[sage-support] Re: Notebook & ldap: crypto missing etc.

2012-07-31 Thread Maarten Derickx
Le mardi 31 juillet 2012 14:20:14 UTC+2, jori.ma...@uta.fi a écrit : > > I am setting up Sage 5.1 on Ubuntu 12.04. > > I have done > > sage -sh > $ easy_install python-ldap > > and > > cd $SAGE_ROOT/devel > git clone -b ldap https://github.com/rmartinjak/sagenb.git sagenb-ldap > ln -s sage

[sage-support] Re: Sagenb and port 443

2012-07-31 Thread Maarten Derickx
I don't know the details of the setup on our department, but I also run my own server at sage.mderickx.nl . I use a combination of 3) and 5) on a debian system. And it has been running very stable (no problems since I configured the server about half a year ago). The reason why I also have apac

[sage-support] Re: Solving for real and imaginary eigenvalues

2012-07-31 Thread kcrisman
On Monday, July 30, 2012 6:37:00 PM UTC-4, Eric Kangas wrote: > > Interesting that there are only 3 coefficients insterad of 4 by going > through the process you had mentioned. I originally started this project on > mathematica 6.0 student edition back in college, and I now need to recreate >

[sage-support] Sagenb and port 443

2012-07-31 Thread Jori Mantysalo
How have you installed sage for department or university? There are at least six options: 1) Sage runs at port 8000 or similar. Users have to remember an url that ends with :8000. 2) Sage runs as root. Does not sound good. 3) Set up Apache, use RewriteRules. Apache needs to be updated, might h

[sage-support] Notebook & ldap: crypto missing etc.

2012-07-31 Thread Jori Mantysalo
I am setting up Sage 5.1 on Ubuntu 12.04. I have done sage -sh $ easy_install python-ldap and cd $SAGE_ROOT/devel git clone -b ldap https://github.com/rmartinjak/sagenb.git sagenb-ldap ln -s sagenb sagenb-ldap and tried setup.py develop and setup.py install. Now this gives me webpage with lo

[sage-support] Re: Dealing with 'NaN' values

2012-07-31 Thread Aleksej Saushev
v...@ukr.net writes: > On Tue, 31 Jul 2012 09:16:31 +0200 > Zimmermann Paul wrote: > >>Hi Vladimir, >> >> 'NaN' means "Not a Number". It might produced by some uninitialized >> value, or the arithmetic of some invalid arithmetic operation, like >> sqrt(-1.0), 0/0, Inf - Inf, ... >> >> Y

Re: [sage-support] Dealing with 'NaN' values

2012-07-31 Thread v_2e
Hello! On Tue, 31 Jul 2012 09:16:31 +0200 Zimmermann Paul wrote: >Hi Vladimir, > > 'NaN' means "Not a Number". It might produced by some uninitialized > value, or the arithmetic of some invalid arithmetic operation, like > sqrt(-1.0), 0/0, Inf - Inf, ... > > You should first investig

[sage-support] Dealing with 'NaN' values

2012-07-31 Thread Zimmermann Paul
Hi Vladimir, 'NaN' means "Not a Number". It might produced by some uninitialized value, or the arithmetic of some invalid arithmetic operation, like sqrt(-1.0), 0/0, Inf - Inf, ... You should first investigate why you get such values in your array, since simply ignoring them might be wrong