Results 1 to 2 of 2

Thread: X scale as timer label

  1. #1
    Join Date
    Apr 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default X scale as timer label

    I have newbie problem. I'd like to make plot of measure results. I need to have x scale as timer labels in hh.mm format. I can easily make timer which returns such string but I can't find out how I can put that string on x scale. For me the best interface would be such thing:
    Qt Code:
    1. MyPlot::AppendPoints(double *yPoints, QString xLabel)
    To copy to clipboard, switch view to plain text mode 
    Cause measure is made with interval with his own timer. Space between each x point is constant. But after reading documentation and studying examples I'm not sure is it possible. For any tips I'll be grateful.

  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: X scale as timer label

    Check the cpuplot example,

    Uwe

Similar Threads

  1. timer problem(timer does not work)
    By masuk in forum Newbie
    Replies: 6
    Last Post: 14th February 2011, 05:00
  2. Qwt Scale Label Precision
    By JohnKustrin in forum Qwt
    Replies: 1
    Last Post: 20th August 2010, 18:06
  3. killing Qt timer.
    By jaxrpc in forum Newbie
    Replies: 5
    Last Post: 1st June 2010, 00:21
  4. Accuracy of the timer in Qt
    By Fastman in forum Qt Programming
    Replies: 5
    Last Post: 21st July 2009, 21:52
  5. timer->isActive bug
    By adamatic in forum Qt Programming
    Replies: 1
    Last Post: 19th March 2009, 13:44

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.