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
0 个评论
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graph and Network Algorithms 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!