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

dsp.arrayplotMeasurements

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.

Best Answer

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