plotLin(direction,v​alue,varargin)

Plot a horizontal or vertical line that spans the current axes.

You are now following this Submission

Plots a horizontal or vertical line that spans the current axes. Accepts formatting specifications like the plot function. Will overwrite existing plots unless "hold on" is called.

Cite As

Connor Healy (2026). plotLin(direction,value,varargin) (https://se.mathworks.com/matlabcentral/fileexchange/65480-plotlin-direction-value-varargin), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Updated description and references.

1.0.0.0

Updated the title of the file