You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
CONTOURSPLINE(X,Y,Z,N) creates a contour plot having N contour levels from the matrix Z, treating the values in Z as heights above the X-Y plane. X and Y are either vectors defining the X- and Y-axes with length(X) = size(Z,2) and length(Y) = size(Z,1), or X and Y are matrices the same size as Z such as those produced by MESHGRID.
CONTOURSPLINE(X,Y,Z,V) draws contours at the levels given in vector V.
CONTOURSPLINE(X,Y,Z,[v v]) draws a single contour line at level v.
Beware: CONTOURSPLINE smooths contours, but does not magically change terrible data into pleasing data. For terrible data, smoothed contour lines may cross!
Cite As
Duane Hanselman (2026). Contour Line Smoothing (https://www.mathworks.com/matlabcentral/fileexchange/38862-contour-line-smoothing), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (3.07 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
