Any algorithm exist for sorting contours based on features?
3 次查看(过去 30 天)
显示 更早的评论
I have to sort data such that inner loops contours should store in one matrix, then second loops and then for third loops. Actually I am able to store data in one matrix for 2 or 3 contours in a same plane but when number of contours changes with plane like at 6th slice there are 2 contours and at 7th slice there are 3 contours my program is unable to sort data contour wise. So how con I differentiate data any idea.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/278720/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/278720/image.png)
3 个评论
Image Analyst
2020-3-23
What do you want to sort ON? Like first by z level, then from outside to inside? I have no idea what you want to sort by. Based on "features" - well, what features? Radius? Z???? Saying "sort data contour wise" means absolutely nothing to me. "Contour wise" is not a number that we can sort on. But things like radius or Z or whether it's inside another circle are. In what form are your curves? How did you draw them? Do you have a list of (x,y) coordinates for each of the 37 curves?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Contour Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!