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

3 次查看(过去 30 天)
the maximum value as an "asterik" everything else is just a normal line

采纳的回答

Steven Lord
Steven Lord 2018-2-16
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 个)

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by