You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Several improvements to original 'vline':
- Vectorize plotting for speed
- Allow axes handle(s) to be specified
- Allow standard line options, e.g. 'linewidth'
- Rotate labels if requested
- Identify lines with 'vline' tags
- Remove existing vertical lines easily with 'clear'.
Cite As
Karl (2026). Improved 'vline' (https://au.mathworks.com/matlabcentral/fileexchange/29578-improved-vline), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.4.0.0 (5.95 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
