Axis not working with loglog
Afficher commentaires plus anciens
I am trying to extend the axis of my LogLog plot using axis, but I cannot. Can someone explain how to fix this? Thanks
y=[1001 892 749 688 576 472 385 361];
x=[214 706 3000 9500 28000 78000 500000 1100000];
yticks([0 100 200 600 1200])
xticks([0 1 10 10^2 10^3 10^4 10^5 10^6])
axis([0 1200000 0 1200])
loglog(x,y,'o-')
hold on
grid on
It should start at 0,0 and go to 1200000,1200.

Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Labels and Styling 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!