How to plot with a logarithmic scale?

2 Ansichten (letzte 30 Tage)
sese
sese am 24 Apr. 2013
Bearbeitet: Ned Gulley am 14 Feb. 2014
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?

Akzeptierte Antwort

Ahmed A. Selman
Ahmed A. Selman am 24 Apr. 2013
semilogx(x,y)

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by