Plotting multi valued data properly
Mostra commenti meno recenti
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.
Risposte (1)
Sean de Wolski
il 30 Lug 2012
0 voti
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.
1 Commento
Niles Martinsen
il 30 Lug 2012
Categorie
Scopri di più su Shifting and Sorting Matrices 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!