How to set X axis limit as 10 to power 1 up to 10 to power 5

조회 수: 3 (최근 30일)
Akshay Kumar Kumaraswamy
Akshay Kumar Kumaraswamy 2018년 4월 9일
편집: Hans Scharler 2018년 4월 9일
set(hAx(1),'XLim',[1e1 1e5])
Please find the attachment. I need some thing like that.
  댓글 수: 1
KSSV
KSSV 2018년 4월 9일
What problem you have with this? YOu can straight away use xlim eh.

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

채택된 답변

Adam
Adam 2018년 4월 9일
편집: Adam 2018년 4월 9일
set( hAxes, 'XScale', 'log' )
will give you the logarithmic axes scale which you can combine with XLim. I can't remember off-hand when logarithmic axes were introduced, but I think it was a long time ago so whatever version you are using this should work.

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by