You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). Patchline (https://nl.mathworks.com/matlabcentral/fileexchange/36953-patchline), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: MRIqual, linealpha(x,y,varargin), NIfTI Studio, customGrid, Plot Food Web, FadeIT
General Information
- Version 1.2.0.3 (2.62 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.2.0.3 | Fixed a minor bug if varargin is empty. |
||
| 1.2.0.2 | Simply modified the description. No code changes. |
||
| 1.2.0.1 | Updated license |
||
| 1.2.0.0 | Improved the rice.png example, modified the description slightly. |
||
| 1.1.0.0 | Updated description, examples. |
||
| 1.0.0.0 |
