# Revision history [back]

As the deprecation warning says, you have to use names ranges like (x,0,2) to say that x belongs to the interval [0,2], and the same for y. The following works for me:

sage: x,y=var('x, y')
....: plot3d((x^2)*y-x*y+x*y^3,(x,0,5),(y,0,5))


As the deprecation warning says, you have to use names ranges like (x,0,2) to say that x belongs to the interval [0,2], and the same for y. The following works for me:

sage: x,y=var('x, y')
....: plot3d((x^2)*y-x*y+x*y^3,(x,0,5),(y,0,5))


EDIT If the problem comes from java, you can run your command from a notebook, a javascript version of jmol will be used.