Area calculation within contour
5 次查看(过去 30 天)
显示 更早的评论
Sirs, I have the following plot
[C,h] = contour(X,Y,Z,[s,s])
Where s is a variable that I change. This plot the image:
I am interested to calculate the area inside this contour (so I can compare different values of s)
I have attempted to use some previous solutions I have found on this site, to no joy.
I have attached data for X,Y,Z
s can take any value <Z max
kind regards. W
4 个评论
Image Analyst
2018-2-6
Someone could if you had given us the data to create your plot. Come on, make it easy for people to help you not hard.
Steven Lord
2018-2-6
You should give a small sample data set that's more or less representative of your actual problem. That way interested people can test out their suggestions ahead of time to make sure they work.
采纳的回答
更多回答(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!