Results 1 to 2 of 2

Thread: Labeling scatter plot points

  1. #1
    Join Date
    Jun 2009
    Posts
    27
    Thanks
    3
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Labeling scatter plot points

    Hi,

    I am a Phd student and new to QT. I am using QT+QWT to develop a small application for visualizing genes(One of human body unit)...

    I am using QWTplot and qwtcurve classes to generate a scatter plot. I am looking to label those points. How can I do it??

    Details:
    I have labels of the points in an array and values that I am drawing in another array. So I am looking to label the points when I visualize(scatter plot) them.

    Also how can I change color for each point. I am currently using QColorDialog::getColor(); but all the points comes up with same color. What I am thinking to implement is that for each point I have label and a color dialougebox so I can change the color of a single point..


    Help would be appreciated...


    Cheers,

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

    Default Re: Labeling scatter plot points

    Probably you want to implement a combination of a curve and a couple of markers.

    Uwe

Similar Threads

  1. Graphic view for scatter plot
    By hamid ghous in forum Qt Programming
    Replies: 2
    Last Post: 11th August 2009, 15:27
  2. Replies: 4
    Last Post: 14th May 2009, 10:31
  3. Replies: 1
    Last Post: 2nd October 2008, 07:29
  4. Scatter plot with many colors
    By DKL1972 in forum Qwt
    Replies: 4
    Last Post: 29th June 2008, 11:15

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.