[sage-support] Re: What changed?

2010-01-02 Thread Jason Grout
Burcin Erocal wrote: > Hi Jason, > > On Sat, 02 Jan 2010 15:14:15 -0700 > Jason Grout wrote: > >> Here is the problem, narrowed down a bit: >> >> >> sage: log(SR(float(-7.0))) >> Traceback (most recent call last): >> ... >> ValueError: math domain error >> sage: log(float(-7.0)) >> 1.94591014906

[sage-support] latex environment on sagenb.org

2010-01-02 Thread Jason Grout
Can we install what is necessary to draw graphs with tkz on sagenb.org? I did the following: show(latex(graphs.CompleteGraph(3))) and it said something like: Warning: tkz-graph.sty is not part of this computer's TeX installation. This package is required to render graphs in LaTeX. Visit http:

[sage-support] Re: What changed?

2010-01-02 Thread Jason Grout
Sterling wrote: > Thanks. This isn't imperative by any means. I was just going through > some old notebooks from last semester. Regardless of how minor any errors or backwards-incompatibilities may seem, we definitely want to hear about them. Thanks for pointing this out to us! This turned

Re: [sage-support] Re: What changed?

2010-01-02 Thread Burcin Erocal
Hi Jason, On Sat, 02 Jan 2010 15:14:15 -0700 Jason Grout wrote: > Here is the problem, narrowed down a bit: > > > sage: log(SR(float(-7.0))) > Traceback (most recent call last): > ... > ValueError: math domain error > sage: log(float(-7.0)) > 1.94591014906 + 3.14159265359*I > sage: log(RR(-7.0

[sage-support] Re: What changed?

2010-01-02 Thread Jason Grout
ma...@mendelu.cz wrote: > This does not produce error, but probably is not what you want. > > y=var('y') > b = plot(sqrt(3)*x,(0,4)) > f(z) = 4*log(z^3)-2*log(z^3-8) > g = lambda x,y: imag(f(x+y*I)) if y < sqrt(3)*x else float('nan') > a = contour_plot(g(x,y),(x,0,4),(y,0,4),fill=False,contours=30

Re: [sage-support] What changed?

2010-01-02 Thread William Stein
On Sat, Jan 2, 2010 at 10:39 AM, Sterling wrote: > In the notebook under sage 4.2.1 this code seems to work OK, but under > sage 4.3 I get an error. Is there some syntax change I overlooked? > > b = plot(sqrt(3)*x,(0,4)) > f(z) = 4*log(z^3)-2*log(z^3-8) > g = lambda x,y: imag(f(x+y*I)) if y < sqrt

[sage-support] Re: How to produce png image with transparent background with latex.eval

2010-01-02 Thread Jason Grout
Shing Hing Man wrote: > I am using Sage 4.0.2. The myImage.png produced by the following > command has a white background. > > latex.eval("$\\frac{1}{2}$", {}, filename="/home/foo/myImage.png") > > Is it possible to have transparent background ? > > Thanks in advance for any assistance! > > S

[sage-support] Re: What changed?

2010-01-02 Thread Sterling
Ah, yes, I forgot the variable y. Regardless, I still get a "math domain error" that wasn't present before. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this g

[sage-support] Re: What changed?

2010-01-02 Thread ma...@mendelu.cz
This does not produce error, but probably is not what you want. y=var('y') b = plot(sqrt(3)*x,(0,4)) f(z) = 4*log(z^3)-2*log(z^3-8) g = lambda x,y: imag(f(x+y*I)) if y < sqrt(3)*x else float('nan') a = contour_plot(g(x,y),(x,0,4),(y,0,4),fill=False,contours=30) c = a + b c Aother (but related) qu

[sage-support] How to produce png image with transparent background with latex.eval

2010-01-02 Thread Shing Hing Man
I am using Sage 4.0.2. The myImage.png produced by the following command has a white background. latex.eval("$\\frac{1}{2}$", {}, filename="/home/foo/myImage.png") Is it possible to have transparent background ? Thanks in advance for any assistance! Shing -- To post to this group, send emai

[sage-support] What changed?

2010-01-02 Thread Sterling
In the notebook under sage 4.2.1 this code seems to work OK, but under sage 4.3 I get an error. Is there some syntax change I overlooked? b = plot(sqrt(3)*x,(0,4)) f(z) = 4*log(z^3)-2*log(z^3-8) g = lambda x,y: imag(f(x+y*I)) if y < sqrt(3)*x else float('nan') a = contour_plot(g,(x,0,4),(y,0,4),fi

[sage-support] Re: Testing errors for Sage 4.3 in openSUSE 11.0

2010-01-02 Thread Samrat
Hi Mr. Stein, I am not sure what details can be useful. I have openSUSE 11.0, 32 bit as my PC is P4, ram is 2GB. I have used GNU compilers version 4.3.1. The only thing for compilers i can think of is that i have a symlink g77 to gfortran. Hence the Sage compilation process accepts g77 as the

[sage-support] Re: Testing errors for Sage 4.3 in openSUSE 11.0

2010-01-02 Thread Samrat
Hi, I have uploaded the doctest-verbose-long.log file here: http://www.scribd.com/doc/24694532/Doctest-Verbose-Long It is a tar.gz file. I put a .txt extension as it was not being accepted otherwise. Hope it helps, thanks. On Jan 1, 11:21 am, Minh Nguyen wrote: > Hi Samrat, > > On Sat, Jan 2,

[sage-support] Re: SAGE and .NET interoperability.

2010-01-02 Thread Harald Schilly
On Jan 2, 2:52 am, Jason Grout wrote: > Has andlinux (http://www.andlinux.org/) been relegated to the "been > there, tried that, didn't work very well" pile? I just wanted to bring up the same. http://www.colinux.org/ might have improved and how works the file system integation? Is it better than