Log scale x axis?

조회 수: 9 (최근 30일)
Maxwell Yant
Maxwell Yant 2020년 2월 21일
댓글: madhan ravi 2020년 2월 22일
Hello I want to have a logarthmic x axis however I think the semilogx function doesnt work when using a function. Also, if you know what the error means Id appreciate an explanation!

채택된 답변

madhan ravi
madhan ravi 2020년 2월 21일
set(gca, 'XScale','log') % at the end
To turn off the warning simply use dots before arithmetic operators .^ .* ./
  댓글 수: 2
Maxwell Yant
Maxwell Yant 2020년 2월 22일
Thanks! and what about if I wanted a logarthmic Y axis would i change xscale to yscale?
madhan ravi
madhan ravi 2020년 2월 22일
Yes

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Log Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by