How to plot the maximum value as an "asterik" everything else is just a normal line?

the maximum value as an "asterik" everything else is just a normal line

2 Comments

What do you mean? A line plot where one value should be plot with a marker as well?

Sign in to comment.

 Accepted Answer

If you want markers at the rest of the points on the line and a different / larger / different color marker at the maximum, use the code in Walter's comment.
If you want a marker ONLY at the maximum and you're using release R2016b or later, use the MarkerIndices property of the line to specify you only want a marker at the maximum.

More Answers (0)

Categories

Products

Tags

Asked:

Jab
on 16 Feb 2018

Answered:

on 16 Feb 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!