Log scale x axis?

12 次查看(过去 30 天)
Maxwell Yant
Maxwell Yant 2020-2-21
Hello I want to have a logarthmic x axis however I think the semilogx function doesnt work when using a function. Also, if you know what the error means Id appreciate an explanation!

采纳的回答

madhan ravi
madhan ravi 2020-2-21
set(gca, 'XScale','log') % at the end
To turn off the warning simply use dots before arithmetic operators .^ .* ./
  2 个评论
Maxwell Yant
Maxwell Yant 2020-2-22
Thanks! and what about if I wanted a logarthmic Y axis would i change xscale to yscale?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Log Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by