About 193,000 results
Open links in new tab
  1. xline - Vertical line with constant x-value - MATLAB - MathWorks

    This MATLAB function creates a vertical line at one or more x-coordinates in the current axes.

  2. Adding vertical line to plot? - MATLAB Answers - MATLAB Central

    Feb 25, 2011 · For example, plot a vertical line at x = 21. Set the y values using the y-axis limits of the axes.

  3. plot - 2-D line plot - MATLAB - MathWorks

    This MATLAB function creates a 2-D line plot of the data in Y versus the corresponding values in X.

  4. How to plot vertical lines? - MATLAB Answers - MATLAB Central

    Oct 20, 2014 · I would like to plot the vertical line from the top to the bottom without knowing the y-axis limits.

  5. matlab - Plot vertical lines at a certain time - Stack Overflow

    Feb 8, 2015 · 2 There are several ways to plot vertical lines in Matlab. The easiest recommendation is the line function: line (X,Y) adds the line defined in vectors X and Y to the …

  6. line - Create primitive line - MATLAB - MathWorks

    This MATLAB function plots a line in the current axes using the data in vectors x and y.

  7. How to draw a vertical line with a given height? - MATLAB …

    May 4, 2016 · I use line([1 1]*posx) to draw a vertical line in a figure. Can I also draw a vertical line with a specific height?

  8. plot - How to draw horizontal and vertical lines in MATLAB?

    Feb 5, 2015 · MATLAB's plotting works on a point-by-point basis from the vectors you give. So to create a horizontal line, you need to varying x while keeping y constant and vice-versa for …

  9. yline - Horizontal line with constant y-value - MATLAB

    This MATLAB function creates a horizontal line at one or more y-coordinates in the current axes.

  10. how can I plot several vertical lines in graph? - MATLAB Answers ...

    Sep 25, 2016 · I would like to plot vertical lines at several specified points (x axis) on a graph. Each point is the onset of a stimulus. I specify the number of these points and where they …