Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

One way is like that:

sage: var('x,y')
(x, y)
sage: f=x**2+y**2
sage: contour_plot(f,(x,-2,2),(y,-2,2))

You can also use plot3d to see the function as a surface in space:

sage: plot3d(f,(x,-2,2),(y,-2,2))