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

채택된 답변

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에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by