How to plot the maximum value as an "asterik" everything else is just a normal line?
1 回表示 (過去 30 日間)
古いコメントを表示
the maximum value as an "asterik" everything else is just a normal line
2 件のコメント
Rik
2018 年 2 月 16 日
What do you mean? A line plot where one value should be plot with a marker as well?
採用された回答
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!