Improved 'vline'
Version 1.4.0.0 (5.95 KB) by
Karl
Same syntax as original 'vline', but with several improvements.
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 (2024). Improved 'vline' (https://www.mathworks.com/matlabcentral/fileexchange/29578-improved-vline), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2009b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Language Fundamentals in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.