Is it possible to programmatically enable a data cursor and position the cursors in the dsp.ArrayPlot?

1 view (last 30 days)
I have a script in which I'm displaying data in the dsp.ArrayPlot system object and I'd like to enable the cursors and move the cursors to a calculated position in the script. Is this possible? I have tried some of the commands from the dsp.SpectrumAnalyzer but they don't seem to work here.

Accepted Answer

Kiran Felix Robert
Kiran Felix Robert on 3 Feb 2021
Edited: Kiran Felix Robert on 3 Feb 2021
Hi Richard,
Currently there is no way to enable data cursor of the dsp.ArrayPlot programmatically.
The only way is to enable it is from the Measurements tab of the ArrayPlot scope window graphically.
In the ArrayPlot scope window: Measurements > Data Cursors
  1 Comment
Richard Keniuk
Richard Keniuk on 20 Feb 2021
Thanks Kiran,
It would be nice to have programmatical methods to adjust all aspects of any object (spectrum anayzer, timescope, array plot, etc.) to set up the presentation of your results in a script. Many of the objects have some control this way but I think there needs to be some work on unifying the objects so that cursors measurements data extraction are all consistent (as much as they can be between different objects).

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!