Results 1 to 2 of 2

Thread: detach only one qwt plot curve?

  1. #1
    Join Date
    Oct 2010
    Posts
    58
    Thanks
    26
    Qt products
    Qt4
    Platforms
    Windows

    Default detach only one qwt plot curve?

    Hi,

    How can I remove one of my plot curves from my plot without destroying the curve?

    I have a plot curve that is plotted on the left y-axis, I want to be able to move to the right y-axis and not have the first curve on the plot anymore. I don't want to delete the first curve because I want to keep its data and just have it replotted on the right y-axis.

    I can't use QwtPlot::detachItems because I have other curves that I want to stay on the plot.

    Any Ideas?

    Thanks!

  2. #2
    Join Date
    Oct 2010
    Location
    Berlin, Germany
    Posts
    358
    Thanks
    18
    Thanked 68 Times in 66 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: detach only one qwt plot curve?

    what about QwtPlotItem::detach()?

  3. The following user says thank you to FelixB for this useful post:

    kja (3rd December 2010)

Similar Threads

  1. Replies: 9
    Last Post: 12th May 2014, 01:25
  2. How to plot tan(x) curve?
    By Name in forum Qwt
    Replies: 1
    Last Post: 17th September 2010, 13:20
  3. Replies: 0
    Last Post: 18th March 2010, 14:35
  4. Replies: 2
    Last Post: 8th January 2010, 14:09
  5. Replies: 4
    Last Post: 9th January 2009, 11: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.