> 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
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
> 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
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
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
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
--
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
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
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
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
> 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
> 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
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
13 matches
Mail list logo