Why does my graph plot show a horizontal line?
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
My Matlab ver is 2017b
I want to get rid of that horizontal line or at least know what it meant.
This is my code.

figure
plot(num(:,8),num(:,10))
title('xyz');
xlabel('x');
ylabel('y');
grid on;
2 commentaires
Alex Mcaulley
le 15 Nov 2019
I guess that your last 'x' value is 0 (and the previous one is ~21), then you obtain the horizontal line
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!