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 CenterFile Exchange 中查找有关 Graph and Network Algorithms 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by