Results 1 to 3 of 3

Thread: Syncing many QwtPlots with QwtPlotPickers

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2012
    Posts
    63
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Syncing many QwtPlots with QwtPlotPickers

    I have many QwtPlot objects sharing the same points data in XY coordinates. There can be like 10 curves in one plot. I want display some curves in first plot window and some other curves in second, etc.

    Each plot would have drawn their y-axis but there would be only one common x-axis. Plots are stacked vertically and I want one common vertical tracker .

    I have some ideas but would this work ?

    - each QwtPlot has QwtPlotPicker installed and can draw vertical tracker.
    - each plot has slot for 'selected' signal from the picker
    - when plot receives 'selected' from picker it sends same signal to other plots with same arguments (that contain position)

    I think this could work if the plot sizes are exactly the same. Would it be better to have plot translate mouse point to curve's point in x-axis and send that info to others?
    Last edited by phenoboy; 31st May 2016 at 07:52.

Similar Threads

  1. align stacked QwtPlots
    By mastupristi in forum Qwt
    Replies: 1
    Last Post: 30th April 2016, 09:38
  2. Syncing Android Calendar with our own calendar?
    By Awareness in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 16th February 2014, 19:17
  3. Syncing database between mobile device and PC
    By tyrnikeisari in forum Qt Programming
    Replies: 2
    Last Post: 14th June 2011, 16:21
  4. Axis problem with tiling QWTplots
    By dtakeshita in forum Qwt
    Replies: 7
    Last Post: 6th December 2010, 11:00
  5. Multiple QwtPlots in one frame?
    By rambo83 in forum Qwt
    Replies: 0
    Last Post: 7th January 2010, 08:03

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.