Add plot markers to an existing plot
Version 1.2.0.0 (1.94 KB) by
Matthijs
Add a specified number of markers to a plot
Add a specified number of markers to a plot instead of a marker at each datapoint which is the default in Matlab
Cite As
Matthijs (2026). Add plot markers to an existing plot (https://www.mathworks.com/matlabcentral/fileexchange/23279-add-plot-markers-to-an-existing-plot), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2007b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Labels and Styling > Labels and Annotations > Annotations >
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots > Change Markers >
Find more on Annotations in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.2.0.0 | - Output handle now retains the linestyle from the input handle - useful for the legends
|
||
| 1.1.0.0 | Number of makers is now optional with 5 markers being default.
|
||
| 1.0.0.0 |
