The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: alternatives to surf
Replies: 1   Last Post: Feb 28, 2013 5:43 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Steven Lord

Posts: 18,038
Registered: 12/7/04
Re: alternatives to surf
Posted: Feb 28, 2013 5:43 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Andrew " <> wrote in message
> 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
To contact Technical Support use the Contact Us link on

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.