Advanced hline and vline

Draws horizontal/vertical lines in graphs. Accept axes handle and allows user to specify label posit

Download
Download

You are now following this Submission

Cite As

Hoi Wong (2026). Advanced hline and vline (https://in.mathworks.com/matlabcentral/fileexchange/18796-advanced-hline-and-vline), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: hline and vline

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0

Added textHandle as an optional output and yLimits for vline() and xLimits for hline() as optional inputs.

Download
1.1.0

Refactored to enable linePropertiesList, textPropertiesList, isLineColorSynchronizedWithText

Download
1.0.0

Updated description

Download