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일

0 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Log Plots에 대해 자세히 알아보기

태그

질문:

2020년 2월 21일

댓글:

2020년 2월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by