| 1 | initial version |
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))
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.