Why does not semilogy works?
显示 更早的评论
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 个评论
Jan
2021-5-10
Please post the corresponding code. It is not clear, what "go into gca" means.
Ove Gustafsson
2021-5-10
回答(1 个)
Walter Roberson
2021-5-10
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Graphics Objects 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!