Check if multiple data cursors can be selected in LiveScript files

Please see attached a Live Scipt file and a mat file.
I wanted to know if it is possible to place multiple data cursors on a plot within a Live Script.
I wanted to be able to highlight all the peaks.
I have tried holding down the "Shift" or Ctrl" key, but it only selects the peaks one at a time. What am I doing wrong?
Is there a way of doing this programmatically?
Any assistance would be much appreciated.

Réponses (0)

Produits

Version

R2019a

Question posée :

le 25 Juin 2019

Modifié(e) :

le 13 Juil 2019

Community Treasure Hunt

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

Start Hunting!

Translated by