Contour Area Calculation
No License
This program displays the contour plot of an mxn (m ~= n) matrix, and then calculates the area for regions above a given level. This is a brute force implementation. It probably has some bugs, and there are probably more elegant ways to do this, but it does what I need. I am open to feedback on how to improve the code.
Cite As
Phillip Tamchina (2024). Contour Area Calculation (https://www.mathworks.com/matlabcentral/fileexchange/6905-contour-area-calculation), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Contour Plots >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | The prompt asking the user for the contour level now displays the range of values in the input data, ie. "Enter a contour level between A and B:", where A is the minimum and B is the maximum value of the input mxn input matrix. |