Area calculation within contour
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
William White
le 6 Fév 2018
Réponse apportée : William White
le 7 Fév 2018
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/169972/image.jpeg)
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 commentaires
Image Analyst
le 6 Fév 2018
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
le 6 Fév 2018
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.
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Contour Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!