Sometimes using loglog does not change the scale to a logarithmic scale.
err=[1.4 1.04 1.004 1.0004 1.00004 1.000004];
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?