Thanks Dima!
mandag 26. juni 2017 16.30.20 UTC+2 skrev Dima Pasechnik følgende:
>
> the following works for me:
> sage: var('x y');
> : cmsel = [colormaps['gnuplot2'](i) for i in sxrange(0,1,0.02)]
> : plot3d(lambda
> x,y:((1/(sqrt((2**2)*pi)))*(x+I*y)*exp(-((0.25)*((x+I*y)**2.imag_pa
the following works for me:
sage: var('x y');
: cmsel = [colormaps['gnuplot2'](i) for i in sxrange(0,1,0.02)]
: plot3d(lambda
x,y:((1/(sqrt((2**2)*pi)))*(x+I*y)*exp(-((0.25)*((x+I*y)**2.imag_part(),(x,-3*pi,3*pi),(y,0,2),adaptive=True,
: color=cmsel)
Note that I removed "math." pr
Note, that when brackets are corrected it gives the following result:
TypeError Traceback (most recent call last)
in ()
> 1 plot3d(lambda
x,y:(Integer(1)/(math.sqrt((Integer(2)**Integer(2))*pi)))*(x+I*y)*exp(-((RealNumber('0.25'))*((x+I*y)**Integer(2.imag_