Clear Filters
Clear Filters

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

1 view (last 30 days)
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.

Accepted Answer

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

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!