image thumbnail

Patchline

version 1.2.0.3 (2.62 KB) by Brett Shoelson
Visualize lines as patch objects. Specify any valid patch property, including transparency.

6.3K Downloads

Updated 30 Nov 2020

View License

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.

Cite As

Brett Shoelson (2021). Patchline (https://www.mathworks.com/matlabcentral/fileexchange/36953-patchline), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!