Plotting multi valued data properly
이전 댓글 표시
Hi
It can be plotted using the following
clear all
start = load('example.txt');
figure(1)
plot(start(:, 1), start(:, 2),'.')
As seen, the data is multivalued, and it forms an arc. I wish to connect the data points by a line, however when I try that, then the result is not an arc, but a web.
Is there a way to plot this properly in MatLAB?
Best, Niles.
답변 (1개)
Sean de Wolski
2012년 7월 30일
0 개 추천
I won't download the data set, but you could likely sort it (or sortrows) it first so that the connected points are in sorted order.
카테고리
도움말 센터 및 File Exchange에서 Shifting and Sorting Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!