Contour Area Calculation

Calculates the area of contour regions.
3.9K Downloads
Updated 22 Feb 2005

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
Created with R13SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Contour Plots in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
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.