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

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

[Octave-bug-tracker] [bug #64338] Interactive zoom on plotyy only works


From: anonymous
Subject: [Octave-bug-tracker] [bug #64338] Interactive zoom on plotyy only works for primary x-axis after openfig()
Date: Thu, 22 Jun 2023 10:57:49 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?64338>

                 Summary: Interactive zoom on plotyy only works for primary
x-axis after openfig()
                   Group: GNU Octave
               Submitter: None
               Submitted: Thu 22 Jun 2023 02:57:47 PM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: jasmin.zimmer@batop.de
             Open/Closed: Open
                 Release: 8.2.0 8.X Series Bug Fix Release 
         Discussion Lock: Any
        Operating System: Any
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 22 Jun 2023 02:57:47 PM UTC By: Anonymous
Zooming into a plotyy-axes works fine, but if I save the figure, reopen it
using openfig, and then zoom again, the link between the axes seems to have
gotten lost. 

Here's an example

N = 10;
f = figure;
ax = axes;
plotyy(ax, 1:N, rand(1,N), 1:N, rand(1,N));
savefig(f, 'testfig.fig', 'compact')
close(f)


and then

openfig('testfig.fig')


What helps is to relink the axes using linkaxes(). I'm plotting with qt, using
Octave 8.2.0 on Ubuntu (the bug also appears on Windows). 

Maybe https://savannah.gnu.org/bugs/?func=detailitem&item_id=54079 or
https://savannah.gnu.org/bugs/?func=detailitem&item_id=53980 are linked to
that ..?







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64338>

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




reply via email to

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