Results 1 to 2 of 2

Thread: Min Max values

  1. #1
    Join Date
    Apr 2013
    Posts
    64
    Thanks
    15
    Qt products
    Qt4
    Platforms
    Windows

    Default Min Max values

    Is there a way to get min max values of all displayed curves and markers in a plot?

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

    Default Re: Min Max values

    Iterate over the curves and markers ( see QwtPlotDict::itemList( int rtti ) const ) and unite the bounding rectangles.
    In QwtPlot::updateAxes() you find code that is quite close to what you are looking for.

    Uwe

  3. The following user says thank you to Uwe for this useful post:

    mqt (30th August 2013)

Similar Threads

  1. How to convert string hex values to its real binary values?
    By AttilaPethe in forum Qt Programming
    Replies: 1
    Last Post: 20th February 2012, 22:47
  2. passing values in qml
    By vinayaka in forum Newbie
    Replies: 0
    Last Post: 20th July 2011, 13:36
  3. How to set values in QByteArray?
    By Gokulnathvc in forum Newbie
    Replies: 2
    Last Post: 19th July 2011, 06:44
  4. Get Pixel Values
    By amitpatel22 in forum Qt Programming
    Replies: 7
    Last Post: 15th June 2011, 04:33
  5. Get Co-ordinates Values
    By amitpatel22 in forum Qt Programming
    Replies: 1
    Last Post: 14th June 2011, 11:12

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.