Results 1 to 6 of 6

Thread: QwtPolarSpectrogram with inverted Radius

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2017
    Posts
    3
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11

    Default Re: QwtPolarSpectrogram with inverted Radius

    Thanks for the response.

    That would essentially work only when there is no SetInterval specified for the X and Y axis.
    Because, I am using QwtMatrixRasterData and not QwtRasterData, it is mandatory that I specify X and Y axis interval.

    And when I do that as mentioned earlier, the value() function is not able find the value from the matrix (only in the inverted scale).

    So for a scale like this
    Qt Code:
    1. setInterval( Qt::XAxis, QwtInterval( 0.0, 360.0 ) );
    2. setInterval( Qt::YAxis, QwtInterval( 0.0,90.0 ) );
    To copy to clipboard, switch view to plain text mode 

    I am setting a matrix with 216 values ( 24 azimuth columns and 9 radius rows) using setValueMatrix and the value() function finds it as long as the scale is 0 to 90 and not the other way around.

  2. #2
    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: QwtPolarSpectrogram with inverted Radius

    Quote Originally Posted by ishitha92 View Post
    That would essentially work only when there is no SetInterval specified for the X and Y axis.
    As long as the intervals of the axes and those from the data intersect something should be displayed.
    But better start your debugger and check what is going on in QwtMatrixRasterData::value().

    Uwe

Similar Threads

  1. Replies: 0
    Last Post: 5th August 2016, 09:21
  2. Replies: 9
    Last Post: 24th April 2015, 15:39
  3. Replies: 2
    Last Post: 28th January 2015, 14:27
  4. Inverted QTextEdit
    By TMan in forum Qt Programming
    Replies: 2
    Last Post: 31st July 2009, 16:35
  5. QWTdial inverted range
    By jmsbc in forum Qwt
    Replies: 1
    Last Post: 12th January 2009, 21:21

Tags for this Thread

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.