Results 1 to 4 of 4

Thread: Synchronizing Y-axis scaling when zoomed with QwtPlotZoomer for two curves

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2010
    Posts
    122
    Thanks
    62
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Cool Synchronizing Y-axis scaling when zoomed with QwtPlotZoomer for two curves

    I have noticed an interesting behavior when using the
    QwtPlotZoomer tool on a plot which consists of two
    curves. The curves, as shown in the attached screenshot,
    are a cosine and sin wave. Autoscaling is enabled for
    both Y-axis. The values range from 1 to -1 for each curve.

    When the zoom rectangle is used to zoom in on the curve,
    the Y-axis do not scale in the same manner, which looses
    the fidelity and alignment between them on the plot.
    This is shown as ChartZoom.jpg as an attachment.

    How can I get similar behavior from the two axis when
    using the QwtPlotZoomer class when essentially the same
    autorange value is defined for both Y-axis (here the
    range is -1 to 1)?
    Attached Images Attached Images

Similar Threads

  1. Replies: 3
    Last Post: 18th May 2011, 16:56
  2. Y axis not auto scaling
    By pkj in forum Qwt
    Replies: 0
    Last Post: 12th May 2011, 16:05
  3. Replies: 1
    Last Post: 2nd May 2010, 18:27
  4. Replies: 10
    Last Post: 18th September 2008, 15:14
  5. Scaling Painter without scaling the coordinate sytem
    By maverick_pol in forum Qt Programming
    Replies: 4
    Last Post: 7th January 2008, 21:30

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.