Visualize lines as patch objects. Specify any valid patch property, including transparency.
7,7K téléchargements
Mise à jour 30 nov. 2020

Afficher la licence

Using very simple syntax, patchline allows you to visualize lines as patches. This allows you to set any valid properties of the patch object, including 'EdgeAlpha' (to modify the transparency of the lines).
Note that the effectiveness of setting the transparency (edgealpha) may differ on different operating systems. Try different Figure Renderers (particularly openGL) to get the desired behavior.

Also, unix users may experience problems if the renderer is not set to "opengl software". This parameter cannot be set at runtime, but can be set in startup.m.

Patchline is useful if you want to create a transparent line or a transparent plot.

Citation pour cette source

Brett Shoelson (2024). Patchline (, MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2012a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
En savoir plus sur Polygons dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version

Fixed a minor bug if varargin is empty.

Simply modified the description. No code changes.

Updated license

Improved the rice.png example, modified the description slightly.

Updated description, examples.