Plot spectrogram on the right axes of a MATLAB GUI?

조회 수: 2 (최근 30일)
MatlabNewbie01232015
MatlabNewbie01232015 2015년 1월 25일
답변: MatlabNewbie01232015 2015년 1월 25일
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.

채택된 답변

MatlabNewbie01232015
MatlabNewbie01232015 2015년 1월 25일
I found the solution
axes(handles.axes2);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Time-Frequency Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by