Why does my graph plot show a horizontal line?
9 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Alex Mcaulley
2019 年 11 月 15 日
I guess that your last 'x' value is 0 (and the previous one is ~21), then you obtain the horizontal line
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!