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.
Citar como
Shoaibur Rahman (2025). Vertical line on a figure (https://es.mathworks.com/matlabcentral/fileexchange/48737-vertical-line-on-a-figure), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2014b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots >
Más información sobre Line Plots en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
