MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > How to swap x and y axis? 

spectrogram() function plot the spectrogram which x axis is frequency and y axis is time. I want to plot a spectrogram figure whose x axis is time and y axis is frequency. How should I do? 
"Hongcheng " <yorkbluedream@gmail.com> wrote in message <hdm0ad$6fc$1@fred.mathworks.com>... 
"Hongcheng " <yorkbluedream@gmail.com> wrote in message <hdm0ad$6fc$1@fred.mathworks.com>... 
"Jos " <#10584@fileexchange.com> wrote in message <hdmd5k$j0m$1@fred.mathworks.com>... 
"Hongcheng " <yorkbluedream@gmail.com> wrote in message <hdqjvd$clo$1@fred.mathworks.com>... 
Thanks for the solution. Helpful archive! Odd that they would put time on the y to begin with, but perhaps it's a field difference. 
It seems that I ran into this question 5 years after the first post :) 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.