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
2 个评论
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!