Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
陽仁 望月
陽仁 望月 le 12 Avr 2022
Commenté : 陽仁 望月 le 12 Avr 2022
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.

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by