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
    Mar 2011
    Posts
    25
    Thanks
    2
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: plotting a binary file by using Qwt

    But you have to read the data from the file somehow.
    Do it by 4 bytes (quint32 for example), pack them into two arrays and pass to the plot curve.

  2. #2
    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 Sintegrial View Post
    But you have to read the data from the file somehow.
    Do it by 4 bytes (quint32 for example), pack them into two arrays and pass to the plot curve.

    thanks, but 4 bytes are little. i need put them binary data) from file in "char c[1024]" and then cast each byte (each cell) of "c" to float and then plot all. please help me in this way.

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.