# Revision history [back]

Using lambda functions is another way to do this.

This is often convenient and useful for plotting in Sage:

• no need to define symbolic variables
• works whether the function is a symbolic function or not

In this case you would do:

sage: contour_plot(lambda x, y: max(abs(x), abs(y)), (-3, 3), (-3, 3))