How to plot the maximum value as an "asterik" everything else is just a normal line?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jab
le 16 Fév 2018
Réponse apportée : Steven Lord
le 16 Fév 2018
the maximum value as an "asterik" everything else is just a normal line
2 commentaires
Rik
le 16 Fév 2018
What do you mean? A line plot where one value should be plot with a marker as well?
Réponse acceptée
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.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!