Plot spectrogram on the right axes of a MATLAB GUI?

1 visualizzazione (ultimi 30 giorni)
I would like to plot a mono audio signal y to axes2 (MATLAB GUI), I have 4 axes on my Gui program. If I use spectrogram(y)then MATLAB plots on axes1. However, I want to plot it on another axes2, so I use:
plot(handles.axes2,spectrogram(y))
It does work either. On the attached picture, the spectrogram should appear on the second one.

Risposta accettata

MatlabNewbie01232015
MatlabNewbie01232015 il 25 Gen 2015
I found the solution
axes(handles.axes2);

Più risposte (0)

Categorie

Scopri di più su Time-Frequency Analysis in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by