plotmark

Identifies lines in a figure by a single large marker.

You are now following this Submission

When doing black and white figures with several curves, it is sometimes
difficult to uniquely identify each curve, since the number of different line
styles is quite limited.
This function implements one possible solution, which consists in
marking each curve with a single symbol located somewhere along the curve
(as opposed to using the symbol repeatedly at each datapoint)
The way this is done is by actually creating two graphical objects,
one for the line, and one for the symbol.
A trick is used so that only one item shows up in the legend,
with the correct identification.

Cite As

Romain Nguyen van yen (2026). plotmark (https://www.mathworks.com/matlabcentral/fileexchange/30435-plotmark), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Graphics Objects in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

The behavior in case of logarithmic scaling has been fixed.

1.0.0.0