"Andrew " <email@example.com> wrote in message news:firstname.lastname@example.org... > 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.