How to plot with a logarithmic scale?

3 ビュー (過去 30 日間)
sese
sese 2013 年 4 月 24 日
編集済み: Ned Gulley 2014 年 2 月 14 日
I am wondering how to plot in MATLAB with a logarithmic scale. These are my data
x = [1 0.1 0.01 0.001]
y = [10 60 120 180]
I want to plot x-axis in logarithmic scale. Can anyone help me please to do this?

採用された回答

Ahmed A. Selman
Ahmed A. Selman 2013 年 4 月 24 日
semilogx(x,y)

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by