Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
Re: alternatives to surf
Posted:
Feb 28, 2013 5:43 PM
|
|
"Andrew " <almvz5@mail.missouri.edu> wrote in message news:kgo9n8$pc9$1@newscl01ah.mathworks.com... > I'm plotting spectrograms (time v frequency v power) and the current way I > do this is by running spectrogram, saving the outputs, then using surf and > view to get it to the right view. I want time on the x axis, frequency on > the y, and NOT a 3D plot, but a color plot of the values in P. P is > length(T) by length(F). > > > Ex > > surf(T,F,P) > view(0,90) > > This works fine as far as the image goes, but it takes a lot of processing > power and time. It can take up to 30 seconds to produce one of these plots > as I am working with a lot of data. > > My P matrices are generally something like 500000 x 50. > > I've tried using contour and contourf and get similar computation > time/effort results. > > Any thoughts on what I can use/alter to make these plots take less > time/effort?
How big is your monitor? Do you really need to display a surface 500k elements long in one of its dimensions? I would consider resampling.
-- Steve Lord slord@mathworks.com To contact Technical Support use the Contact Us link on http://www.mathworks.com
|
|
|
|