Results 1 to 3 of 3

Thread: how to obtain a concrete plot curve?

  1. #1
    Join Date
    Feb 2011
    Posts
    9
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default how to obtain a concrete plot curve?

    Hi,

    I'm working on a qwt 4 application, porting it to qwt version 5. One of my problems is how to obtain a concrete curve of the plot. In version 4, there was easy using QwtPlot::insertCurve() to insert a curve obtaining a curve identificator and you could use this id to obtain a curve later with function QwtPlot::Curve(curveId).
    How can I obtain a concrete curve from my plot in qwt version 5?

    Thanks !!

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,309
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: how to obtain a concrete plot curve?

    Quote Originally Posted by kpr View Post
    I'm working on a qwt 4 application, porting it to qwt version 5.
    Then better port it to Qwt 6.

    Quote Originally Posted by kpr View Post
    One of my problems is how to obtain a concrete curve of the plot.
    You have the plot item ( here the curve ) itself.

    You can put it into a QMap if you want work with keys, but the idea is to use the plot items in a similar way as you work with widgets or QGraphicsView items.

    Uwe

  3. #3
    Join Date
    Feb 2011
    Posts
    9
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: how to obtain a concrete plot curve?

    Thanks Uwe but sorry i don't understand what you mean. Any short example please?

Similar Threads

  1. Replies: 9
    Last Post: 12th May 2014, 02:25
  2. detach only one qwt plot curve?
    By kja in forum Qwt
    Replies: 1
    Last Post: 3rd December 2010, 08:54
  3. How to plot tan(x) curve?
    By Name in forum Qwt
    Replies: 1
    Last Post: 17th September 2010, 14:20
  4. Replies: 2
    Last Post: 8th January 2010, 15:09
  5. Replies: 4
    Last Post: 9th January 2009, 12:57

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.