Results 1 to 4 of 4

Thread: Plotting graphs in Qt

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2010
    Posts
    63
    Thanks
    26
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Plotting graphs in Qt

    Hi,
    I want to plot graphs in my program to display the results of a calculation.
    I've been trying regular QGraphicsView functionality, but have been having difficulties getting it to work.
    So far I've been ignoring this 'Qwt' label that has its own forum segment, but from what I'm reading now it seems that Qwt is exactly for that purpose. But I can't find a description in the Qt documentation of what Qwt is and how it works.

    Can someone confirm whether or not I should be using Qwt and tell me where I can find documentation on that ?

    ---
    A second issue that has been puzzling me:
    I've read in the documentation that QGraphicsSimpleTextItem has a 'scale()' function that returns the current scale and a 'setScale(qreal) scale' function that sets one scale factor.
    But when I type 'item->scale' in QtCreator, it also suggests another function, 'scale(qreal sx, qreal sy)', that apparently scales both dimensions invidually, but that I can't find in the documentation.

    So, my questions are:
    - Why is this apparently not in the documentation ?
    - How do these two functions interact ? I've experimented with combining them, but I don't understand the results I get.

    Thank you !
    Hint: Think carefully before picking a user name.

  2. The following user says thank you to Computer Hater for this useful post:

    TheIndependentAquarius (15th January 2014)

Similar Threads

  1. Replies: 4
    Last Post: 4th January 2011, 09:47
  2. Qwt print 3 graphs to pdf
    By kiduxituh in forum Qwt
    Replies: 1
    Last Post: 30th August 2010, 19:23
  3. Graphs in Qt
    By qtlinuxnewbie in forum Newbie
    Replies: 4
    Last Post: 20th February 2010, 12:01
  4. Plotting graphs in QGraphicsView using qwt
    By luis_claudio in forum Newbie
    Replies: 0
    Last Post: 14th September 2009, 19:47
  5. Best way to draw x,y graphs
    By steg90 in forum Newbie
    Replies: 1
    Last Post: 14th May 2007, 11:52

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.