[sage-support] Re: Bessel Contour Plot problem

2011-10-17 Thread kcrisman
> SyntaxError: invalid syntax You'll need to type the whole part after def f(y,t): in just one line, and similarly for the whole plot command. Google groups tends to cut off things at a fairly short line length. - kcrisman -- To post to this group, send email to sage-support@googlegroups.c

[sage-support] Re: Bessel Contour Plot problem

2011-10-17 Thread Eric Kangas
I still get an error: p = contour_plot(f, (y, 0, 6), (t, 0, 3), fill = false, axes_labels=['$gro$','$kro$'], contours = [0.1, 0.2, 0.3, 0.5, 0.7, 1.0, 2.0, 4.0], legend_label='qwall'); File "", line 1, in File "/tmp/tmpZLCoKg/___code___.py", line 6 return (sqrt(t**_sage_const_2 +y**_sage

Re: [sage-support] Bessel Contour Plot problem

2011-10-17 Thread D. S. McNeil
> Sage: y,t = var('y,t') > Sage: contour_plot(lambda y,t: (sqrt(t^2+y^2)/(2*pi*y))*(bessel_J(0, > t ).arccos()), (t, 0, 3), (y, 0, 4), fill = false, axes_labels=['$gro > $','$kro$'], contours = [0.1, 0.2, 0.3, 0.5, 0.7, 1.0, 2.0, 4.0], > fill=False, legend_label='qwall'); > > This is the error mess

Re: [sage-support] Bessel Contour Plot problem

2011-10-17 Thread Dan Drake
On Mon, 17 Oct 2011 at 03:37PM -0700, Eric Kangas wrote: > Sage: contour_plot(lambda y,t: (sqrt(t^2+y^2)/(2*pi*y))*(bessel_J(0, > t ).arccos()), (t, 0, 3), (y, 0, 4), fill = false, axes_labels=['$gro > $','$kro$'], contours = [0.1, 0.2, 0.3, 0.5, 0.7, 1.0, 2.0, 4.0], > fill=False, legend_label='qwa

[sage-support] Bessel Contour Plot problem

2011-10-17 Thread Eric Kangas
Hi, I am having issues with plotting contour plots for bessel functions. Here is one of the lines of codes for a plot: Sage: y,t = var('y,t') Sage: contour_plot(lambda y,t: (sqrt(t^2+y^2)/(2*pi*y))*(bessel_J(0, t ).arccos()), (t, 0, 3), (y, 0, 4), fill = false, axes_labels=['$gro $','$kro$'], con

[sage-support] sage 4.7 and rpy2 - libintl.3.dylib could not be loaded

2011-10-17 Thread silvio.a
Dear sage expert Thank you a lot for the excellent work on sage ! I have the following problem: On Mac OS X 10.5, using rpy2 fails, the library libintl.3.dylib could not be loaded, see below. Is there anything I can do to resolve the problem? Thanks, Silvio --

[sage-support] Re: Picture visualization in the notebook ?

2011-10-17 Thread Jason Grout
On 10/17/11 9:37 AM, Thierry Dumont wrote: Dear sage-support, Is there a possibility ti visualize a Picture in the notebook ? For example: we read a .png image, and we would like to modify it, treat it and so on (we know how to to this with sage); at the end visualize the result in the noteboo

Re: [sage-support] Re: Question about MPI in SAGE

2011-10-17 Thread Juan Grados
Dear Maarten sorry 2011/10/16 Maarten Derickx > Dear Juan Grados, > > I don't think people have forgotten it, but merely not answering since you > are asking in the wrong place. This is the sage mailinglist not the mpi4py one > and the problems you are experiencing are problems with getting mpi

[sage-support] Re: Increasing memory limit?

2011-10-17 Thread Nils Bruin
On Oct 17, 7:19 am, Eric wrote: > > What are the coefficients of the matrix? In which ring do they live? > > > If m is the matrix, please post the result of m.parent() > > Every element in the 9x9 determinant is a polynomial in some variable > x with integer coefficients. Doing print m.parent() gi

[sage-support] Picture visualization in the notebook ?

2011-10-17 Thread Thierry Dumont
Dear sage-support, Is there a possibility ti visualize a Picture in the notebook ? For example: we read a .png image, and we would like to modify it, treat it and so on (we know how to to this with sage); at the end visualize the result in the notebook (we do not know how to do this...). yours

[sage-support] Re: Increasing memory limit?

2011-10-17 Thread Eric
> What are the coefficients of the matrix? In which ring do they live? > > If m is the matrix, please post the result of m.parent() Every element in the 9x9 determinant is a polynomial in some variable x with integer coefficients. Doing print m.parent() gives Full MatrixSpace of 5 by 5 dense matr

[sage-support] Re: Increasing memory limit?

2011-10-17 Thread luisfe
> On Oct 17, 2:51 pm, Eric wrote: > Does anyone know how to enlarge the memory limits set by sage? > > I get the following message when running a certain computation that > involves computing large determinants. > > Memory limit reached. Please jump to an outer pointer, quit program > and enlarge

[sage-support] Increasing memory limit?

2011-10-17 Thread Eric
Does anyone know how to enlarge the memory limits set by sage? I get the following message when running a certain computation that involves computing large determinants. Memory limit reached. Please jump to an outer pointer, quit program and enlarge the memory limits before executing the program