How to plot the maximum value as an "asterik" everything else is just a normal line?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Jab
am 16 Feb. 2018
Beantwortet: Steven Lord
am 16 Feb. 2018
the maximum value as an "asterik" everything else is just a normal line
2 Kommentare
Rik
am 16 Feb. 2018
What do you mean? A line plot where one value should be plot with a marker as well?
Akzeptierte Antwort
Steven Lord
am 16 Feb. 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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Line Plots finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!