bugGNU Octave - Bugs: bug #58579, plotyy() does not honor subplot()...

 
 

bug #58579: plotyy() does not honor subplot() chart sizing

Submitter:  Neil Konzen <waterdog1>
Submitted:  Tue 16 Jun 2020 03:20:58 AM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Duplicate Assigned to:  None
Originator Name:  waterdog1 Open/Closed:  * Closed
Release:  * 5.2.0 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 16 Jun 2020 07:28:33 AM UTC, comment #1: 

This is a duplicate of bug #53461. Closing report.

Pantxo Diribarne <pantxo>
Group Member
Tue 16 Jun 2020 03:20:58 AM UTC, original submission:  

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


Neil Konzen <waterdog1>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-06-16 pantxo CategoryPlotting Plotting with OpenGL
        StatusNone Duplicate
        Open/ClosedOpen Closed
        Operating SystemMicrosoft Windows Any
        Dependencies- Depends on bugs #53461

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code