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.
Citation pour cette source
Shoaibur Rahman (2025). Vertical line on a figure (https://www.mathworks.com/matlabcentral/fileexchange/48737-vertical-line-on-a-figure), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2014b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots >
En savoir plus sur Line Plots dans Help Center et MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.1.0.0 | Edited help documents
|
||
1.0.0.0 |