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

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

[Octave-bug-tracker] [bug #58579] plotyy() does not honor subplot() char


From: Neil Konzen
Subject: [Octave-bug-tracker] [bug #58579] plotyy() does not honor subplot() chart sizing
Date: Mon, 15 Jun 2020 23:20:59 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36

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

                 Summary: plotyy() does not honor subplot() chart sizing
                 Project: GNU Octave
            Submitted by: waterdog1
            Submitted on: Tue 16 Jun 2020 03:20:58 AM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: waterdog1
        Originator Email: 
             Open/Closed: Open
                 Release: 5.2.0
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

The following function does not honor subplot() chart sizing.
The problem only seems to occur when plotyy is used, plot() works fine.

This particular example is not very realistic because in this example, without
the commented hold on statement, later charts would be replacing earlier
charts, which is pointless.  But there may be other cases where plotyy() or
other plotting functions don't correctly honor subplot.


function hold_prob
  close all; figure;
  x = linspace(0,10,10);
  y = rand(4*4,10);
  for ia=1:2
    for ip=1:4
      subplot(2,2,ip);
      %hold on;
      grid on;
      iy = (ia-1)*4 + ip;
      plotyy(x,y(iy,:), x,y(iy+1,:));
      drawnow;
    end
  end
end






    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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