Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
Use the outputs from any of the contour plot functions to produce a table of (x,y) coordinates of the contour lines organized by contour level and group.
[cm, h] = contour(___);
contourTable = getContourLineCoordinates(cm);
--or--
contourTable = getContourLineCoordinates(h);
contourTable =
Level.........Group..........X............Y
____________________________________
-5.8504.........1..........0.44266....-1.75
-5.8504.........1..........0.375........-1.8038
-5.8504.........1..........0.25..........-1.8526
-5.8504.........1..........0.125........-1.8498
etc....
Where Level is the contour level in the LevelList of a contour object, Group is a grouping variable for contour levels, and (X,Y) are coordinates along the contour lines.
Citation pour cette source
Adam Danz (2026). getContourLineCoordinates (https://fr.mathworks.com/matlabcentral/fileexchange/74010-getcontourlinecoordinates), MATLAB Central File Exchange. Extrait(e) le .
Remerciements
Inspiré par : Extract contour data from contour matrix C
Informations générales
- Version 1.1.0 (2,93 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.1.0 | (x,y) coordinates are now in order of proximity within each level. Improved documentation. |
||
| 1.0.1 | Reformatted description, no changes to code. |
||
| 1.0.0 |
