Results 1 to 7 of 7

Thread: QwtPlotCurve Step CurveStyle incorrect when extending beyond QwtPlot edge

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2008
    Location
    Boulder, Colorado, USA
    Posts
    70
    Thanks
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default QwtPlotCurve Step CurveStyle incorrect when extending beyond QwtPlot edge

    We're finding that QwtPlotCurves with the "Steps" CurveStyle show a misleading value when extending beyond the visible area of the QwtPlot.

    The following image shows three QwtPlots with the same series data, drawn with a line width of 2 pixels, shown with magnified insets:
    .
    • Top: Drawn with the "Lines" CurveStyle. Good.
    • Middle: Drawn with the "Steps" CurveStyle. Shows problem.
    • Bottom: Vertically zoomed out "Steps" view.


    StepClip1.jpg

    This image also available here:
    http://cadswes2.colorado.edu/~philw/.../StepClip1.png

    We're using Qwt 6.1.2 on Windows. We're seeing this with both Qt 4.8.5 and Qt 5.5.1.

    We're hoping that we won't have to intervene at the application level -- detecting crossings of the plot edge and breaking the curve into multiple curves or segments.

    Is this a known problem with the "Steps" CurveStyle?
    Any ideas on what to do?
    Thank you in advance.
    Last edited by philw; 28th July 2016 at 02:08.

Similar Threads

  1. Make a new QwtPlotCurve on a QwtPlot?
    By bigjoeystud in forum Qwt
    Replies: 2
    Last Post: 23rd October 2014, 23:02
  2. Selecting QwtPlotCurve from QwtPlot
    By Christoss in forum Qwt
    Replies: 11
    Last Post: 23rd July 2013, 12:32
  3. Replies: 6
    Last Post: 7th June 2013, 13:39
  4. Replies: 1
    Last Post: 11th May 2012, 08:02
  5. Replies: 1
    Last Post: 13th July 2011, 08:55

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.