Vertical line on a figure

Vertical Line in Matlab
252 Downloads
Updated 28 Jan 2016

View License

vr(xPos) plot a vertical line at xPos getting current axis values with default color gray, line width 1, and a solid line with no markers.
However, vr(xPos,varargin) plot a vertical line at xPos getting current axis, while varargin takes any plot property as defined in built-in plot function in Matlab.

Cite As

Shoaibur Rahman (2024). Vertical line on a figure (https://www.mathworks.com/matlabcentral/fileexchange/48737-vertical-line-on-a-figure), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Line Plots in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

Edited help documents
Vertical Line

1.0.0.0