Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
the maximum value as an "asterik" everything else is just a normal line

Risposta accettata

Steven Lord
Steven Lord il 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.

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by