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),fill=False,contours=30)
c = a + b
c

Thanks. This isn't imperative by any means. I was just going through
some old notebooks from last semester.

-Sterling

-- 
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 group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to