Plot function in matlab

5 visualizaciones (últimos 30 días)
Anh Mai
Anh Mai el 4 de Dic. de 2021
Editada: the cyclist el 4 de Dic. de 2021
Hi all, I would like to plot a graph with x axis as below. Is there any syntax that I can use to set it up? Thank you all.

Respuestas (2)

Voss
Voss el 4 de Dic. de 2021
You can use loglog to get a plot with both axes in log scale or semilogx to get one with just the x-axis in log scale.

the cyclist
the cyclist el 4 de Dic. de 2021
Editada: the cyclist el 4 de Dic. de 2021
You can use the loglog function to create a plot like that. See the documentation for details.
Also, for your future reference, you can take a look at the Plot Gallery for examples and code for different plot types.

Categorías

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

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by