Log scale x axis?

9 ビュー (過去 30 日間)
Maxwell Yant
Maxwell Yant 2020 年 2 月 21 日
コメント済み: madhan ravi 2020 年 2 月 22 日
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?
madhan ravi
madhan ravi 2020 年 2 月 22 日
Yes

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLog Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by