Results 1 to 10 of 10

Thread: how to make min and max values of spectrogram dynamical?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,325
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: how to make min and max values of spectrogram dynamical?

    The range is something, that has to correspond to the color map - but it has nothing to do with the current min/max values of your data set in specific area. But even if you want to have it this way calculating it in QwtRasterData::value is completely the wrong place.

    But your main problem is, that you insist on not trying to understand what you are doing. With this attitude you can't be surprised, that nobody answers to your postings anymore.

    Uwe

  2. #2
    Join Date
    Nov 2009
    Posts
    94
    Thanks
    14
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: how to make min and max values of spectrogram dynamical?

    I know that the range corresponds to the colormap. This is exactly the reason why I want it to be dynamical. Otherwise, I have to determine the possible range by plotting the function in Matlab and see what is the global minimum and maximum.

    I could certainly calculate the min and max range by iterating through x1 and x2 space and determine the range in that way, but then I would have to use 2 FOR loops, which would be very time consuming. Therefore, I had the idea to calculate it within the function "value()" because there all values are calculated anyway. Unfortunately, it is not that easy, as I thought.

    @Uwe: How to learn, if nobody answers my questions? ;-)

Similar Threads

  1. How to make layout dynamical?
    By rambo83 in forum Qt Programming
    Replies: 2
    Last Post: 6th January 2010, 15:05
  2. qwt spectrogram example
    By rambo83 in forum Qwt
    Replies: 2
    Last Post: 17th November 2009, 21:13
  3. Dynamical LineEdit and signals
    By martisho in forum Qt Programming
    Replies: 5
    Last Post: 10th November 2009, 15:39
  4. Replies: 8
    Last Post: 8th April 2009, 19:51
  5. Replies: 1
    Last Post: 25th July 2008, 08:38

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.