Results 1 to 2 of 2

Thread: Displaying Curve name at the end of each curve

  1. #1
    Join Date
    Oct 2011
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Displaying Curve name at the end of each curve

    All,

    I am using Qwt to create a plot which has a series of curves in it.

    As there are so many curves in the plot, I dont want to show the Legend.

    I would like to add the curve name at the end of each curve like this

    ----------------------------- T10
    _________________________ T22

    Can anybody let me know how I can achieve this ?

    Thanks,
    Manoj

  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: Displaying Curve name at the end of each curve

    use a QwtPlotMarker for each curve ans se its values to the values of the last point in the corresponding curve.

    alternatively you could derive your own curve and lat it print its name by itself. this might be the better solution, but i'm don't know how to do that exactly...

Similar Threads

  1. Replies: 2
    Last Post: 23rd August 2011, 13:23
  2. draw curve
    By szisziszilvi in forum Qt Programming
    Replies: 6
    Last Post: 25th January 2011, 09:38
  3. Replies: 4
    Last Post: 29th April 2010, 07:11
  4. Replies: 1
    Last Post: 22nd January 2010, 15:34
  5. Get a smooth curve
    By beekeep in forum Qwt
    Replies: 2
    Last Post: 7th January 2010, 18:49

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.