MATLAB Answers

x-axis and y- axis problem

3 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

  0 Comments

Sign in to comment.

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.

  0 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by