Results 1 to 3 of 3

Thread: Qwt patched with Qwt6.0.1_10AxisPerSide.patch Real time curve does not overlap

  1. #1
    Join Date
    May 2014
    Posts
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Qwt patched with Qwt6.0.1_10AxisPerSide.patch Real time curve does not overlap

    Hi,
    we are tryng to develop an application based on Qwt that resemble an industrial recorder. Our application needs to have 4 real time curves each of them with its own axes. The axes scale can be displayed or not, depending from the user selection. We patched the qwt with Qwt6.0.1_10AxisPerSide.patch. The application works fine if we run it with one horizontal axes (time axes) and 4 vertical axes (value axes) where we plot the runtime values returned by a temparature reader. In this case the curve are perfectly overlapped as should be. We can enable and disable axes scale and the plot comes as expected.
    When we run the application with 4 horizontal axes (value axis) and 1 vertical axes (time) to resemble a recorder when all axis scale are visibile the plot is obtained as expected with all curves overlapped, while if a scale is disabled the associated curve is offseted with respect to the one with the scale that is visible.

    Thanks for your help.

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

    Default Re: Qwt patched with Qwt6.0.1_10AxisPerSide.patch Real time curve does not overlap

    Quote Originally Posted by mondon View Post
    We patched the qwt with Qwt6.0.1_10AxisPerSide.patch.
    This is an 3rd party patch that never worked properly.

    Here ( http://sourceforge.net/p/qwt/code/HE...-6.1-multiaxes ) you find a branch with an official implementation for multi axes. It is almost complete ( QwtPlot::sizeHint() and QwtPlotRescaler are not yet finished ) and is planned to be merged into the main line with Qwt 6.3 ( too many API changes for Qwt 6.2 ). This branch is actively maintained ( gets all bug fixes and new stuff of trunk ) and you can send bug reports.

    Uwe

  3. #3
    Join Date
    May 2014
    Posts
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Qwt patched with Qwt6.0.1_10AxisPerSide.patch Real time curve does not overlap

    Thank you for your answer, I'll check the official implementation.
    Yesterday I discovered that in the Qwt6.0.1 + Qwt6.0.1_10AxisPerSide.patch by setting QwtPlotLayout::setAlignCanvasToScales( true ) the overlap problems I mentioned yesterday are solved.
    Thanks again,
    monica

Similar Threads

  1. real time image GUI with Qt
    By sanda199 in forum Newbie
    Replies: 0
    Last Post: 25th January 2013, 07:43
  2. Qwt real time
    By oddytz1989 in forum Qwt
    Replies: 3
    Last Post: 10th February 2012, 05:41
  3. Real time rendering
    By kaszewczyk in forum Newbie
    Replies: 1
    Last Post: 7th July 2010, 18:26
  4. real time plotting
    By agostain in forum Qwt
    Replies: 0
    Last Post: 10th August 2009, 11:47
  5. Best way in Qt to plot curve per real-time reading?
    By Sheng in forum Qt Programming
    Replies: 1
    Last Post: 10th February 2009, 23:33

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.