On Mar 12, 5:47 pm, Harald Schilly <harald.schi...@gmail.com> wrote: > I'm not sure but there might be a bug or problem evaluating the > expression. Anyways, going the "pure" python way works: > > sage: def fermi(x,y,d,L): return 1 - 1/( exp( ( max(abs(x),abs(y))- > L) /d) + 1) > > sage: plot3d(lambda x,y : fermi(x,y,0.2,1), (x,-2,2), (y,-2,2)) > > Does this look fine?
Yes, the "pure python" way works. But defining the function that way, I loose the ability to perform symbolic manipulations with it, don't I? -- 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