answered 5 years ago
Using lambda functions is another way to do this.
This is often convenient and useful for plotting in Sage:
In this case you would do:
sage: contour_plot(lambda x, y: max(abs(x), abs(y)), (-3, 3), (-3, 3))