How would I create a curve fit line and smooth the data on a surf plot
1 次查看(过去 30 天)
显示 更早的评论
Hey yall, I am trying to smooth this data on a surf plot so this forms more of a curve while also putting a curve line line over it. How would I go about doing that? Thank you so much!
0 个评论
回答(1 个)
Walter Roberson
2022-3-17
If you were to find() the locations of the non-zero pixels, then you could use boundary() on the coordinate pairs to get an outline of the area. With that information in place, you might consider something like John's interparc() from the FIle Exchange.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Curve Fitting Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!