Presenting in better plot
Show older comments
I am tring to show the error by using numerical methods, I got the correct answers but when I try to show that inside a plot it's impossible to understand because the errors are very small (the largest is 10^-4).
How can I present thise graph in a better way? I thoght about logarithm but I don't know how to transfer that.
2 Comments
Dyuman Joshi
on 1 Feb 2024
Edited: Dyuman Joshi
on 1 Feb 2024
You can plot the same via semilogy or change the scale of y-axis of the existing plot to log by adding these commands -
ax = gca;
ax.YScale = 'log';
Adjust the y-limits according to requirement.
Liav Levy
on 1 Feb 2024
Accepted Answer
More Answers (0)
Categories
Find more on Annotations 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!