Why does matlab scale x-axis automatically
Mostra commenti meno recenti
Hello,
Why does Matlab scale x axis automatically when it is a decimal number?
For example,
plot(sin([0:0.01:2*pi]))

This graph is not what I asked to plot! The x-axis starts from 0 to 700, when it should be 0 to 7.
At least the x-axis should have shown that it is *10^-2, but it doesn't.
This is misleading, sin(100) isn't 0.8415!
why does MatLab scale all decimal places automatically like this?
And how do I make Matlab to show correct x-axis?
1 Commento
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Annotations in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!