Why does not semilogy works?
Afficher commentaires plus anciens
Printing semilogy and loglog and the gca indicate that no log x- or y-scale ar set
XScale: 'linear'
YScale: 'linear'
Do I have to go into the gca everyttime I would like to plot a log figure?
2 commentaires
Jan
le 10 Mai 2021
Please post the corresponding code. It is not clear, what "go into gca" means.
Ove Gustafsson
le 10 Mai 2021
Réponses (1)
Walter Roberson
le 10 Mai 2021
0 votes
loglog() and semilogy() and semilogx() have no effect if "hold on" is already in effect for the axes. You cannot mix log coordinates and linear coordinates in the same axes.
1 commentaire
Ove Gustafsson
le 10 Mai 2021
Catégories
En savoir plus sur Graphics Objects dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!