Contours for triangular grids
Aucune licence
Plots the contours of a function defined on an unstructured triangular grid directly, without the need to interpolate back onto a Cartesian array.
I have attempted to replicate much of the functionality of the regular "contour" function.
Type "help tricontour"
Type "contourdemo" for some examples
You may also find my mesh generator "mesh2d.m" in the physics and Chem section helpful.
UPDATE 11/05/2006
- Can now be used with clabel
- A bit faster
UPDATE 15/05/2006
- Much more accurate (now uses quadratic interpolation)
Citation pour cette source
Darren Engwirda (2026). Contours for triangular grids (https://fr.mathworks.com/matlabcentral/fileexchange/10408-contours-for-triangular-grids), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Graphics > 2-D and 3-D Plots > Contour Plots >
Tags
Remerciements
A inspiré : p-Laplace equation solver using 1D, 2D FEM, TRIGRADIENT.M, trisurfc
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
contour_stuff/
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 | quadratic interpolation |
