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

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

 采纳的回答

To convert the scale of an existing graph from linear to log, you can do,
set(gca,'YScale','log')
set(gca,'XScale','log')

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Networks 的更多信息

产品

标签

Community Treasure Hunt

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

Start Hunting!

Translated by