Results 1 to 8 of 8

Thread: plotting a binary file by using Qwt

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    70
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: plotting a binary file by using Qwt

    Quote Originally Posted by HappyCoder View Post
    You have 4 Byte time, 4 Byte value and so on.
    Read them and append each to a QVector<double> and use
    QwtPlotCurve::setSamples (const QVector< double > &xData, const QVector< double > &yData)
    to plot it.
    thanks for your answer. i have 1000 kB data in file. please help me how i can read and append?

  2. #2
    Join Date
    Jul 2015
    Posts
    87
    Thanks
    1
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: plotting a binary file by using Qwt

    Quote Originally Posted by Alex22 View Post
    thanks for your answer. i have 1000 kB data in file. please help me how i can read and append?
    I don't know your file format, but you should. How could i help you with that.

    RTM QVector: http://doc.qt.io/qt-5/qvector.html

Similar Threads

  1. plotting a binary file
    By Alex22 in forum Newbie
    Replies: 1
    Last Post: 7th November 2015, 20:41
  2. Qwtplot3d Plotting file containing 3D points.
    By spikestar in forum Qt Programming
    Replies: 1
    Last Post: 23rd September 2012, 23:08
  3. Replies: 19
    Last Post: 11th May 2012, 21:06
  4. Replies: 0
    Last Post: 4th August 2009, 15:24
  5. How to Print a doc file (or binary file) to printer
    By rmagro in forum Qt Programming
    Replies: 15
    Last Post: 5th September 2008, 15: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
  •  
Qt is a trademark of The Qt Company.