This function offsets a 2D curve by a given amount. If your curve is plotted, you can also pass the parent axis handle and offset by a given number of points, and it will respect the on-screen proportions.
This was initially developed to convert thick lines into patch objects before printing to eps to avoid problems with self-overlapping curves.
Citation pour cette source
Joss Duchateau (2025). Offset Curve (https://fr.mathworks.com/matlabcentral/fileexchange/52496-offset-curve), 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 > Line Plots >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!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.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.1.0.0 | 1.1 - Slightly changed the initial collinear point removal step |
||
| 1.0.0.0 |
