how to write a function which converts graphs from linear scale to logarithmic scale and plot them both?

1 回表示 (過去 30 日間)
how to write a function which converts graphs from linear scale to logarithmic scale and plot them both?
in matlab r2019b

採用された回答

Matt J
Matt J 2021 年 10 月 23 日
To convert the scale of an existing graph from linear to log, you can do,
set(gca,'YScale','log')
set(gca,'XScale','log')

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraph and Network Algorithms についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by