Results 1 to 3 of 3

Thread: QwtPlotCurve style, it is possible to have Lines and dots at the same time?

  1. #1
    Join Date
    Feb 2010
    Posts
    64
    Thanks
    18
    Qt products
    Qt4
    Platforms
    Windows

    Default QwtPlotCurve style, it is possible to have Lines and dots at the same time?

    Hi

    I would like to plot a curve, and I cannot find a propoer QwtPlotCurve style. My idea is to plots the dots and also the lines. The dots should be a little bit bigger then, in order to distinguish them from the line that connects two points.

    Is there any way to do that?

    I've seen Lines style and Dots style, buy not together.

    Thanks!

  2. #2
    Join Date
    May 2009
    Location
    Vienna
    Posts
    91
    Thanks
    18
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QwtPlotCurve style, it is possible to have Lines and dots at the same time?

    Hi,

    well i'd like to have that too..
    Maybe we don't need to code this, but we could overplot 2 curves.
    So try two QwtPlotCurves with the same data set. One with Line-Style and one with dot-style. And you can edit the properties of the dot style as wanted?

    greetz Astronomy

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

    locke (7th July 2010)

  4. #3
    Join Date
    Mar 2009
    Location
    Tennessee, US
    Posts
    41
    Thanks
    3
    Thanked 11 Times in 8 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QwtPlotCurve style, it is possible to have Lines and dots at the same time?

    Quote Originally Posted by Astronomy View Post
    Hi,

    well i'd like to have that too..
    Maybe we don't need to code this, but we could overplot 2 curves.
    So try two QwtPlotCurves with the same data set. One with Line-Style and one with dot-style. And you can edit the properties of the dot style as wanted?

    greetz Astronomy
    There is no need to overplot 2 curves as you should just use the setSymbol() function in QwtPlotCurve.
    Amos
    Qt Programmer Extraordinaire

    Current Work:
    Ripxx Sports Measurement Device - www.ripxx.com
    (Featured in MYTHBUSTERS on 2010-05-19 in S08E08)

  5. The following user says thank you to amoswood for this useful post:

    locke (7th July 2010)

Similar Threads

  1. QwtPlotCurve Selection
    By WXNSNW in forum Qwt
    Replies: 1
    Last Post: 5th August 2009, 08:41
  2. Replies: 2
    Last Post: 7th July 2009, 08:44
  3. PDF export of Dots: bugs?
    By giusepped in forum Qwt
    Replies: 1
    Last Post: 14th June 2009, 15:52
  4. How to make three dots?
    By y.shan in forum Qt Programming
    Replies: 3
    Last Post: 11th February 2008, 11:29
  5. Replies: 1
    Last Post: 7th February 2007, 01:12

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.