Building on Emmanuel Charpentier's tips, here is an example. sage: x_range = (0, 1) sage: y_range = (0, 1) sage: in_domain = lambda x, y: 0 < y < x < 1 sage: def f(x, y): ....: if in_domain(x, y): ....: return x^2 + y^2 ....: return float('nan') ....: sage: plot3d(f, x_range, y_range) sage: plot3d(f, x_range, y_range, viewer="threejs")
-- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to email@example.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.