How do I set the range of on axis, as well as making it logrythmic scale without taking logs of the results please?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jamie Shelley
le 14 Juil 2016
Commenté : Jamie Shelley
le 14 Juil 2016
My graph needs an edited axis, but I can't get it to work; my plot (simplified) is just plot(x,y) thanks
0 commentaires
Réponse acceptée
Azzi Abdelmalek
le 14 Juil 2016
set(gca,'xscal','log')
3 commentaires
Azzi Abdelmalek
le 14 Juil 2016
t=0:0.1:12
y=sin(t)
plot(t,y)
xlim([0.01 10])
set(gca,'xscale','log')
Plus de réponses (0)
Voir également
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!