plots of semilogx or semilogy gone wrong

1 次查看(过去 30 天)
Hey, I sometimes notice that MATLAB refuses to plot in a logarithmic x- or y-scale, even though there are no zero or negative values present in the plotdata. Instead, MATLAB chooses to plot in linear scales. Is there anyone who recognises this? Or can someone explain me which criterium MATLAB uses here, because it seems a bit arbitrary to me.
Thanks in advance, Bart
  3 个评论
John D'Errico
John D'Errico 2011-4-21
Without an example where this happens, we can only assume that you have committed some strange mistake, since nobody else that I have ever heard of has said this happens to them. It has certainly never happened to me. So please give an example where this occurs. Even better, if you can find such a case where that happens consistently on a given set of points, send it in to TMW as a bug report.
Walter Roberson
Walter Roberson 2011-4-21
plot can do some strange things if your data exceeds +/- 10^100; is that a possibility in your situation?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics Objects 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by