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.
引用
Shoaibur Rahman (2025). Vertical line on a figure (https://www.mathworks.com/matlabcentral/fileexchange/48737-vertical-line-on-a-figure), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
作成:
R2014b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots >
Help Center および MATLAB Answers で Line Plots についてさらに検索
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!