Ask Your Question

Revision history [back]

This works for me:

x,y = var('x,y')
f(x,y) = x^2 + y^2
P = contour_plot(f, (x,0,1), (y,0,1))
P.set_axes_range(0, 1, 1, 0)
P.show()

So does this:

x,y = var('x,y')
f(x,y) = x^2 + y^2
P = contour_plot(f, (x,0,1), (y,0,1))
P.ymin(1)
P.ymax(0)
P.show()