x-axis and y- axis problem

2 views (last 30 days)
Avinash Tallapaneni
Avinash Tallapaneni on 14 Dec 2016
Edited: Adam on 14 Dec 2016
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

Accepted Answer

Adam
Adam on 14 Dec 2016
Edited: Adam on 14 Dec 2016
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.

More Answers (0)

Categories

Find more on Get Started with Curve Fitting Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!