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.
Zitieren als
Shoaibur Rahman (2025). Vertical line on a figure (https://www.mathworks.com/matlabcentral/fileexchange/48737-vertical-line-on-a-figure), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2014b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots >
Mehr zu Line Plots finden Sie in Help Center und MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.1.0.0 | Edited help documents
|
||
1.0.0.0 |