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