MATLAB: X-axis and y- axis problem

axiscurve fittingmathematics

this is the graph i got for this function and i need the graph from -8 to 10 for x and for y from -12 to 15 ,wat should i do?
f(x, y) = x^3+y^3-6*x*y;
figure(2)
ezplot(f)
grid on

Best Answer

doc xlim
doc ylim
xlim( hAxes, [-8 10] )
etc, for an axes handle hAxes. Or just
xlim( [-8 10] )
if you want to be sloppy.