how can i plot equation with more details
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have an equation and i want to plot the curve in x-y space.Display the equation on the graph. Display the location and the value of the roots. And i also want to write a text on it. How can i do it? THank you
0 Kommentare
Antworten (2)
Walter Roberson
am 22 Mär. 2019
plot() with xlabel(), ylabel(), title(). text() to write extra things. In some cases you might want to go as far as annotation('arrow') (though that can be a nuisance for various reasons.)
0 Kommentare
Berat Duman
am 22 Mär. 2019
3 Kommentare
Walter Roberson
am 23 Mär. 2019
Yes, you said that.
Do you want to put markers at those locations, without any text?
Do you want to put an arrow pointing to the locations with text at the source of the arrows?
Do you want to put markers at those locations, with the descriptive text going into the legend?
Do you want to fill an area with a different background color to represent something about the roots?
Do you want to draw the edge of the plot color coded according to whether the slope is positive or negative, so the maxima and minima and saddle points would be at the places where the color changed?
Just saying that you want to "show" them on the plot does not give us enough information about what you are looking for.
Siehe auch
Kategorien
Mehr zu Annotations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!