draw function more understandable

Hallo,I'm solving an exercise(with matlab)that consist in a discussion of a function in a range. When I watch the graph,I've problem to determine the domain and roots becouse the function is too much near the axis. What command I must use to draw the graph more understandable ??

1 commentaire

Image Analyst
Image Analyst le 20 Oct 2013
I have no idea what you're asking, so all I can say is to use the plot() command. Or fiddle around with xlim() and ylim(). Attach some screenshots to illustrate your situation.

Connectez-vous pour commenter.

Réponses (2)

Youssef  Khmou
Youssef Khmou le 21 Oct 2013

0 votes

you can adjust the axis property to zoom in :
% x,y
axis([x(1) x(end) y(1) y(end)])
valerio
valerio le 21 Oct 2013

0 votes

But for example, please watch the image attached , this is the range: [-5 5]. How you do to understand in a convenient way if the function is on the x axis or just more near??

2 commentaires

Matt Kindig
Matt Kindig le 21 Oct 2013
There is no attached image.
Walter Roberson
Walter Roberson le 21 Oct 2013
zoom into the plot.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Data Exploration dans Centre d'aide et File Exchange

Question posée :

le 20 Oct 2013

Commenté :

le 21 Oct 2013

Community Treasure Hunt

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

Start Hunting!

Translated by