Plot in log-log

3 vues (au cours des 30 derniers jours)
Auryn_
Auryn_ le 24 Mai 2018
Réponse apportée : Auryn_ le 24 Mai 2018
Hi,
I am plotting in a log-log scale but the axis label does not display the numbers in a log scale. I have used
loglog(t,Exp, 'LineWidth',2,'Markersize',3)
hold all
and also set(gca, 'YScale', 'log') and it still does not work.
Thanks in advance for your reply.
  2 commentaires
jonas
jonas le 24 Mai 2018
Can you show us your figure and code?
Auryn_
Auryn_ le 24 Mai 2018
Done.

Connectez-vous pour commenter.

Réponse acceptée

jonas
jonas le 24 Mai 2018
Modifié(e) : jonas le 24 Mai 2018
I'm fairly sure that is in fact a loglog-scale. Try:
axis([0.1 100 0.1 100])
and see for yourself. The y-range is too narrow to really label the axis as you expected.

Plus de réponses (1)

Auryn_
Auryn_ le 24 Mai 2018
Awesome, thanks!

Catégories

En savoir plus sur Line Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by