line_fewer_markers
Editor's Note: This file was selected as MATLAB Central Pick of the Week
Allows control of nr of markers, and positioning uniformly along x or along the curve, and with the option to lock on a local max.
Accept same inputs as the LINE command, with the additional parameter NUM_MARKERS, specifying how many markers to be plot.
Inspired by the first answer given by Ioannis Filippidis on
http://www.mathworks.com/matlabcentral/answers/2165-too-many-markers
Cite As
Massimo Ciacci (2026). line_fewer_markers (https://www.mathworks.com/matlabcentral/fileexchange/42560-line_fewer_markers), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots > Change Markers >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
line_fewer_markers_v4/
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.5.0.0 | same as 2 minutes ago |
||
| 1.4.0.0 | - Added support for logarithmic X spacing of markers
|
||
| 1.3.0.0 | - added compatibility for column vector input |
||
| 1.2.0.0 | Added option
|
||
| 1.1.0.0 | - better formatted text indentation
|
||
| 1.0.0.0 |
