octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53980] Interactive zoom on plotyy has multipl


From: Georg Wiora
Subject: [Octave-bug-tracker] [bug #53980] Interactive zoom on plotyy has multiple errors (at least with qt)
Date: Fri, 25 May 2018 07:49:11 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0

URL:
  <http://savannah.gnu.org/bugs/?53980>

                 Summary: Interactive zoom on plotyy has multiple errors (at
least with qt)
                 Project: GNU Octave
            Submitted by: gwiora
            Submitted on: Fri 25 May 2018 01:49:10 PM CEST
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: gwiora
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

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:

x = 1:10
y1 = linspace(1,0,10)
y2 = linspace(0,1,10)
figure();
plotyy(x,y1, x,y2)


Test with other graphics toolkits may be needed.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53980>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]