How to plot a smooth curve while data point order is messed up
4 views (last 30 days)
First thanks for spending your precious time on my question.
I have a data set in a double, for example:
17.5341176470588 213.138823529411 (n-1 th data point)
0.60000000000000 326.800000000000 (n th data points)
as you can see the order is messed up, and plotted curve looks messed up as well..
For example, the curve connects n th data points and n-1 th data point, making a kind of loop
I can easily re-order them but the problem is these data points were imported from excel spreadsheet and needs lots of time to separate them.
So I just decided to import whole spreadsheet, upto 102 columns with many blanks (recorded as NaN).
What would be the best way to plot it?