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.

Answers (0)

Products

Release

R2019a

Asked:

on 25 Jun 2019

Edited:

on 13 Jul 2019

Community Treasure Hunt

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

Start Hunting!