Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

One possibility :

sage: f(x,y) = y^2-x/2
sage: sum(map(lambda u:implicit_plot(f-u, (-9, 9), (-9, 9)), range(5)))
Launched png viewer for Graphics object consisting of 5 graphics primitives

HTH,

One possibility :

sage: f(x,y) = y^2-x/2
sage: sum(map(lambda u:implicit_plot(f-u, (-9, 9), (-9, 9)), range(5)))
Launched png viewer for Graphics object consisting of 5 graphics primitives

Another :

sage: contour_plot(f, (-9, 9), (-9, 9), contours=range(5), labels=True, fill=False)

HTH,