2-D line plot - MATLAB plot
https://www.mathworks.com/help/matlab/ref/plot.htmlCreate a 2-D line plot of Y. MATLAB® plots each matrix column as a separate line. figure plot (Y) Specify Line Style Plot three sine curves with a small phase shift between each line. Use the default line style for the first line. Specify a dashed line style for the second line and a dotted line style for the third line.
2-D line plot - MATLAB plot
www.mathworks.com › help › matlabDescription. plot (X,Y) creates a 2-D line plot of the data in Y versus the corresponding values in X. To plot a set of coordinates connected by line segments, specify X and Y as vectors of the same length. To plot multiple sets of coordinates on the same set of axes, specify at least one of X or Y as a matrix.