Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
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.

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by