Plot function in matlab

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.

回答(2 个)

Voss
Voss 2021-12-4

0 个投票

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 2021-12-4
编辑:the cyclist 2021-12-4

0 个投票

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.

类别

帮助中心File Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品

版本

R2021a

标签

提问:

2021-12-4

Community Treasure Hunt

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

Start Hunting!

Translated by