Results 1 to 13 of 13

Thread: How to retain previous values in graph? QWT

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2010
    Location
    Berlin, Germany
    Posts
    358
    Thanks
    18
    Thanked 68 Times in 66 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to retain previous values in graph? QWT

    whether you use "setSamples" or "setRawSamples" has absolutely nothing to do with your timer. did you debug if "timerEvent" gets called?

  2. The following user says thank you to FelixB for this useful post:

    maarvi (25th March 2011)

  3. #2
    Join Date
    Mar 2011
    Posts
    51
    Thanks
    7
    Qt products
    Qt3 Qt4 Qt/Embedded

    Default Re: How to retain previous values in graph? QWT

    thanks alot sir my this problem is solved u are awesome..

    but kindly tell me is there a way by which my to points get joined after 10 sec as now my two line get joined after 10 sec
    thanks you kindly help me

  4. #3
    Join Date
    Oct 2010
    Location
    Berlin, Germany
    Posts
    358
    Thanks
    18
    Thanked 68 Times in 66 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to retain previous values in graph? QWT

    I'm sorry, I don't understand what you mean with "join two points". can you explain a bit more detailed?

  5. #4
    Join Date
    Mar 2011
    Posts
    51
    Thanks
    7
    Qt products
    Qt3 Qt4 Qt/Embedded

    Default Re: How to retain previous values in graph? QWT

    sir i mean that i have some points like (0,0) (30, 200) ,(60,150)........ so one i want to plot the graph i want that my graph should appear like moving graph in which joins two points for eg (30,200) to (60 ,150) gradually and then join the next two points

    should i have to insert timer in my setSample if yes then how or what else i could do

    thanks so much

  6. #5
    Join Date
    Oct 2010
    Location
    Berlin, Germany
    Posts
    358
    Thanks
    18
    Thanked 68 Times in 66 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to retain previous values in graph? QWT

    that sounds quite complicated. I have no idea how to do that at the moment. is the time between two points fixed? e.g. do you want to reach the next point always after x seconds? or is it dependant of the distance between the points, e.g. very short from (0,0) to (1,1) and very long time from (1,1) to (100,100)?

  7. #6
    Join Date
    Mar 2011
    Posts
    51
    Thanks
    7
    Qt products
    Qt3 Qt4 Qt/Embedded

    Default Re: How to retain previous values in graph? QWT

    sir actually the distance alond x axis is fixed.the interval is 30 but y axis changes. and time should be same no need that for longer distance more time required

    thanks

Similar Threads

  1. can not go back to the previous window
    By xhsoldier in forum Qt Programming
    Replies: 1
    Last Post: 20th October 2010, 05:45
  2. Replies: 1
    Last Post: 5th October 2010, 17:08
  3. Printing Values of the mouse position in a graph
    By soumyadeep_pan in forum Qwt
    Replies: 4
    Last Post: 22nd May 2009, 13:17
  4. Replies: 1
    Last Post: 22nd May 2008, 15:10
  5. Replies: 1
    Last Post: 21st March 2006, 12:54

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.