How to plot with a logarithmic scale?

4 visualizaciones (últimos 30 días)
sese
sese el 24 de Abr. de 2013
Editada: Ned Gulley el 14 de Feb. de 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?

Respuesta aceptada

Ahmed A. Selman
Ahmed A. Selman el 24 de Abr. de 2013
semilogx(x,y)

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by