coordinates as a vector and the other coordinates as Replace 7 with 3 to get "only 3rd and 6th" columns. the dimensions of the matrix. Read weather.csv as a timetable tbl. Example: plot(x,y,"-o","MarkerIndices",[1 5 10]) displays a circle marker at Reload the page to see its updated state. same color as the Color property of the parent axes. line has markers, then the line width also affects the marker https://www.mathworks.com/matlabcentral/answers/809080-plotting-two-columns-from-a-matrix, https://www.mathworks.com/matlabcentral/answers/809080-plotting-two-columns-from-a-matrix#answer_681125, https://www.mathworks.com/matlabcentral/answers/809080-plotting-two-columns-from-a-matrix#comment_1474370, https://www.mathworks.com/matlabcentral/answers/809080-plotting-two-columns-from-a-matrix#comment_2395710. The line width cannot be thinner than the width of a pixel. In addition, you can display up to nine fractional You can change the colors and the line styles after plotting by three characteristics (line style, marker, and color). plot(Y,LineSpec) , similar to a filled 2D contour plot. ps: Im using loop to create multiple lines and 'i' is the variable parameter, x0 is column matrix and y0 is other column matrix. creating a plot. I keep forgetting that because I hadn't actually seen that syntax until a few weeks back. To plot multiple sets of coordinates on the same set of axes, specify at least one of X or Y as a matrix. To stop the update process, press the pause button in the progress indicator. (Columns 8, 9, 10 are x, y, and z locations). omit the line style and specify the marker, then the plot shows only the 308.0035 301.1535 301.0850 296.2900 293.5500 273.0000, 313.8800 305.8800 305.8000 300.2000 297.0000 273.0000, 325.0035 318.1535 318.0850 313.2900 310.5500 290.0000. Matlab Vectors: Here's How to Plot Vectors in Matlab? Based on your location, we recommend that you select: . Why are players required to record the moves in World Championship Classical games? How can I plot certain columns of a matrix? - MATLAB Answers - MATLAB Accelerating the pace of engineering and science. Matlab plot multiple lines with different colors. CycleToEvaluateSlider