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 Center および File ExchangeMATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by