Results 1 to 4 of 4

Thread: qwt raster data with missing values

  1. #1
    Join Date
    Aug 2016
    Posts
    5
    Qt products
    Qt5
    Platforms
    Windows

    Default qwt raster data with missing values

    I'd like to display some data in Qwt plot. However, when I try to do that using Qwt, it appears I have no way of displaying some missing values without affecting the scale for the plot. Am I missing something?

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,326
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanked 880 Times in 828 Posts

    Default Re: qwt raster data with missing values

    The range of the axis scale is only related to the plot items ( and their data ), when auto scaling is enabled. But even then it would depend on the bounding rectangle and not whether points are missing ( NaN values ) inside of the raster data.

    Uwe

  3. #3
    Join Date
    Aug 2016
    Posts
    5
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: qwt raster data with missing values

    Thanks, Uwe. If I turn off the auto scaling then, it should work, if I understand you right. Pardon my beginner questions, but how do I turn off auto scaling?

  4. #4
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,326
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanked 880 Times in 828 Posts

    Default Re: qwt raster data with missing values

    By setting a scale explicitly - see:

    http://qwt.sourceforge.net/class_qwt...95d0c16924eed6
    http://qwt.sourceforge.net/class_qwt...2fa4f6378c225a
    http://qwt.sourceforge.net/class_qwt...440fceead50432

    Also consider using the real bounding rectangle ( only where you have values ). In situations, where the rectangle is inside the visible the performance of the image composition will be better.

    Uwe

Similar Threads

  1. Replies: 8
    Last Post: 17th November 2025, 17:09
  2. qwt raster data for contour plots
    By SJPDS in forum Qwt
    Replies: 0
    Last Post: 3rd August 2016, 11:46
  3. Replies: 3
    Last Post: 23rd November 2015, 07:44
  4. Replies: 4
    Last Post: 29th May 2013, 13:56
  5. Replies: 1
    Last Post: 15th November 2010, 23:46

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.