Is there a way to fine-tune the logarithmic scale of an axis?

1 次查看(过去 30 天)
hellow.
Only a value such as 10,10^2,10^3 is displayed, but the scale of the graph is finer, such as 10,20,30, etc.
Is it possible to display it in small pieces? I am using liveeditor.

采纳的回答

Chunru
Chunru 2022-4-12
semilogy(1:5000); grid on
% if you want more control
h = gca;
h.YTick = [1 100 1000 10000]; % skip one tick

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by