Line incorrectly connects data points in a loglog plot
3 次查看(过去 30 天)
显示 更早的评论
Given the array "a.mat" here attached, if I plot it, i.e.
plot(a(:,1),a(:,2))
I get this picture
Instead, if I plot it in a log scale, i.e.
loglog(a(:,1),a(:,2))
I get this picture (it looks like the points are not sorted...)
How to have a smooth curve in the "loglog" plot, where the line connecting the data points does not "jump" back and forth ?
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Scatter Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!