Add markers to a line plot to distinguish multiple lines or to highlight particular data points.
Create a line plot. Display a marker at each data point by including the line-specification input argument when calling the plot function. For example, use '-o' for a solid line with circle markers.
Create a line plot with markers. Customize the markers by setting these properties using name-value pair arguments with the plot function:
Create a line plot with 1,000 data points, add asterisks markers, and control the marker positions using the MarkerIndices property. Set the property to the indices of the data points where you want to display markers. Display a marker every tenth data point, starting with the first data point.
Create a vector of random data and find the index of the minimum and maximum values. Then, create a line plot of the data. Display red markers at the minimum and maximum data values by setting the MarkerIndices property to a vector of the index values.
Modify the marker locations, then revert back to the default locations.
Specify Line and Marker Appearance in Plots - MATLAB & Simulink
Display vectors or arrays - Simulink - MathWorks India
Control Automatic Selection of Colors and Line Styles in Plots - MATLAB & Simulink
Create 2-D Line Plot - MATLAB & Simulink - MathWorks France
Specify Axis Limits - MATLAB & Simulink
Create Scatter Plots Using Grouped Data - MATLAB & Simulink - MathWorks Italia
Create Line Plot with Markers - MATLAB & Simulink
Control Tutorials for MATLAB and Simulink - Simulink Basics Tutorial: Interaction With MATLAB
Xnxn matrix matlab plotx
How to Plot Multiple Lines on the Same Figure - MATLAB
Create and Run Sections in Code - MATLAB & Simulink - MathWorks Deutschland
Create Chart with Two y-Axes - MATLAB & Simulink - MathWorks Deutschland
Line Color and Marker Style for Plots in Matlab
Create Freehand Signal Data Using Mouse or Multi-Touch Gestures - MATLAB & Simulink - MathWorks Deutschland