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,311
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    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,311
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    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. qwt raster data for contour plots
    By SJPDS in forum Qwt
    Replies: 0
    Last Post: 3rd August 2016, 10:46
  2. Replies: 3
    Last Post: 23rd November 2015, 06:44
  3. Replies: 4
    Last Post: 29th May 2013, 12:56
  4. Replies: 2
    Last Post: 1st April 2012, 16:33
  5. Replies: 1
    Last Post: 15th November 2010, 22: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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.