loglog plots don't always use log scale
Show older comments
Sometimes using loglog does not change the scale to a logarithmic scale.
h=10.^-(0:5);
err=[1.4 1.04 1.004 1.0004 1.00004 1.000004];
loglog(h,err,'-o')

The y-axis is not a log-scale. Indeed, using loglog(err, err) makes both axes not use a log scale.
How does loglog choose? Or is this a bug?
Accepted Answer
More Answers (0)
Categories
Find more on Log Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!