Why does not semilogy works?
25 次查看(过去 30 天)
显示 更早的评论
Printing semilogy and loglog and the gca indicate that no log x- or y-scale ar set
XScale: 'linear'
YScale: 'linear'
Do I have to go into the gca everyttime I would like to plot a log figure?
2 个评论
回答(1 个)
Walter Roberson
2021-5-10
loglog() and semilogy() and semilogx() have no effect if "hold on" is already in effect for the axes. You cannot mix log coordinates and linear coordinates in the same axes.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Modeling and Prediction 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!