bugGNU Octave - Bugs: bug #53980, Interactive zoom on plotyy has...

 
 

bug #53980: Interactive zoom on plotyy has multiple errors (at least with qt)

Submitted by:  Georg Wiora <gwiora>
Submitted on:  Fri 25 May 2018 11:49:10 AM UTC  
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Assigned to:  None
Originator Name:  gwiora Open/Closed:  Open
Release:  4.4.0 Operating System:  Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 22 Aug 2018 12:51:52 PM UTC, comment #1:

For my Octave 4.4.0 on Windows 7 32-bit all graphics toolkits (gnuplot, qt, fltk) for plotyy behaves as:

qt
- Pressing autoscale after zooming produces two different x axis;
- pressing Z+, rotating mouse wheel with cursor exactly (place where looking glass connected to hande - exactly over plotted line) over right axis data plot do change zoom for it;
- autoscale seems scaling the last zoomed axis;
- autoscale produces proper y-axis, but wrong line plot for provided example code - it differs from plot exactly after executing plotyy;

fltk
- The zoom does only work on datasets for the right y axis, left not zoomed.
- Doubleclick on plot produces two different x axis, selecting autoscale all axes from menu - also works wrong (see qt section).

gnuplot
- after zooming plot for left y-axis data is gone and does not possible to bring it back

Sergey Parfenyuk <sergniko>
Fri 25 May 2018 11:49:10 AM UTC, original submission:

When creating a plot from two data sets on two y axis with plotyy the interactive zoom tool misbehaves in multiple ways:
- The zoom does only work on datasets for the left y axis.
- Data sets for the right axis are not zoomed
- This leads to two different but overlapping x-axis. Obviously the x-axis is created twice.

1. I recommend removing the second instance of x-axis. I guess this should be done in plotyy implementation.

2. The qt interactive zoom tool has to be made aware of the second y axis and the data sets belonging to it.

Example code to create a plotyy:

Test with other graphics toolkits may be needed.

Georg Wiora <gwiora>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by sergniko (Posted a comment)
  • -email is unavailable- added by gwiora (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.3