Results 1 to 12 of 12

Thread: regarding graph plotting in qt

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: regarding graph plotting in qt

    is there any way to develop in qt.
    Could you explain a bit more what do you mean?
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  2. #2
    Join Date
    Dec 2006
    Posts
    123
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: regarding graph plotting in qt

    hi,

    i have real time datas coming from a sensor. i need to plot those datas on the screen.this is my requirements.i can find the x and y coordinates and can draw a line also.but i got stuck as how to keep updating the x and y axis with values as the values comes from the sensor.

  3. #3
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: regarding graph plotting in qt

    your description is very general.
    What it is you want to show?
    The current x,y value?
    That is apoint, you don't need a graph for that.
    Or do you want to show a "moving" graph as time passes?
    Explain with a bit more details what it is you are trying to do, what have you done (post code), and then we can see if we can help you more.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  4. #4
    Join Date
    Dec 2006
    Posts
    123
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: regarding graph plotting in qt

    high_flyer:

    yeah i need to show the "moving" graph as the time passes.i post my code. in my code i had created the QLabel of x and y axis when i define the class itself. but when i want to show a moving graph i need to updated them or change them. this is my problem.
    Attached Files Attached Files

Similar Threads

  1. Qt Graph Editor
    By Stiefel in forum Qt Programming
    Replies: 3
    Last Post: 20th February 2018, 07:44
  2. Graph display in QT/Embedded
    By hvreddy1110 in forum Newbie
    Replies: 1
    Last Post: 22nd September 2006, 19:02
  3. Plotting plug-in available?
    By brcain in forum Qt Programming
    Replies: 2
    Last Post: 12th September 2006, 22:58
  4. Qt4 scene graph model
    By grabner in forum Qt Programming
    Replies: 1
    Last Post: 10th May 2006, 08:10
  5. How to plot a graph in Qt ?
    By vinod in forum Qt Programming
    Replies: 2
    Last Post: 27th April 2006, 13:44

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.