How to capture mouse clicks in dsp.SpectrumAnalyzer, and draw on plot

조회 수: 1 (최근 30일)
Jonathan
Jonathan 2016년 2월 24일
편집: Jonathan 2016년 2월 24일
I would like to add my own interactivity to the dsp.SpectrumAnalyzer plot. I would like to receive a callback when the user clicks in the spectrum analyzer plot. This way, I can determine which frequency (x-axis value) the user clicked on.
Also, I would like to draw on the spectrum analyzer plot with my own drawing code.
Are either of these things possible? Can I somehow obtain access to the plot handle, or is it some low-level C/C++ routine that is drawing directly to the screen?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Scopes and Data Logging에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by