Results 1 to 2 of 2

Thread: how to make the qwtscale periodic?

  1. #1
    Join Date
    Aug 2012
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Post how to make the qwtscale periodic?

    Hi , I am using the qwt lib for 2d graph plotting

    My data is time v/s temperature , my time needs to be periodically repeated that is from 1 hrs to 24 hrs and then back to 1 hrs and so on..

    I have been looking into the lib did not find any direct interface that will help me make my scale periodic is there any way i can make it happen?

    Please help

  2. #2
    Join Date
    May 2012
    Location
    Bangalore, India
    Posts
    271
    Thanks
    29
    Thanked 50 Times in 47 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: how to make the qwtscale periodic?

    initialize the counter with zero and increment it with every data till it reach to max and plot it. When the counter goes max, then reset the counter, clear the curve from the plot and re-plot it once again.
    Heavy Metal Rules. For those about to rock, we salute you.
    HIT THANKS IF I HELPED.

Similar Threads

  1. Question about periodic spline interpolation
    By kaidiethelm in forum Qwt
    Replies: 0
    Last Post: 4th June 2012, 13:11
  2. creating periodic processes in Qt
    By vijayabcdef in forum Qt Programming
    Replies: 6
    Last Post: 17th July 2010, 14:27
  3. QwtScale and QwtPlot scale inconsistency.
    By umituzun84 in forum Qwt
    Replies: 5
    Last Post: 18th June 2010, 11:25
  4. Replies: 0
    Last Post: 28th January 2010, 19:19
  5. QwtScale Widget
    By Tavit in forum Qwt
    Replies: 1
    Last Post: 30th June 2008, 19:13

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.