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

5 vues (au cours des 30 derniers jours)
the maximum value as an "asterik" everything else is just a normal line
  2 commentaires
Rik
Rik le 16 Fév 2018
What do you mean? A line plot where one value should be plot with a marker as well?

Connectez-vous pour commenter.

Réponse acceptée

Steven Lord
Steven Lord le 16 Fév 2018
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.

Plus de réponses (0)

Catégories

En savoir plus sur Line Plots dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by