bugGNU Octave - Bugs: bug #53840, Disappearing subplots in 4.4.0

 
 

bug #53840: Disappearing subplots in 4.4.0

Submitted by:  None
Submitted on:  Sat 05 May 2018 02:13:39 AM UTC  
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Confirmed Assigned to:  None
Originator Name:  Tony Richardson Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  4.4.0
Operating System:  Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 08 May 2018 12:32:35 PM UTC, comment #2:

IIRC in bug #49167 the position property also had ridiculously large values. I couldn't track down the exact cause of the issue. But thought that it was caused "possibly in or around axes::properties::sync_positions".
Maybe the issue here is related.

Markus Mützel <mmuetzel>
Project Member
Sat 05 May 2018 09:27:15 AM UTC, comment #1:

Indeed with those additional information I was able to reproduce the bug which is clearly different than the one related to resize. Here the position of the axes is corrupted : 
octave:3> get (findobj (gcf, "type", "axes"), "position") 
ans = 
{  
[1,1] =      7.5645e+12   3.2287e+22  -1.5054e+13  -6.4573e+22  
[2,1] =      7.5645e+12   3.2287e+22  -1.5054e+13  -6.4573e+22  ... 

As a workaround, I found that avoiding the call to high level "plot" function (by changing the properties of the original line object) avoids the issue for me. Something like
 ...    
subplot(3,3,3)    
persitent h333 = [];    
tt = t(1:round(L/15))*1000;    
hh = h(1:round(L/15));    
if (isempty (h333))  
    plot(tt, hh);  
  grid on;       %xlim([0 tplotmax]);      
xlabel('time (ms)');    
  ylabel('Amplitude');    
  title('Impulse Response');    
else 
set (h333, "xdata", tt, "ydata", hh);    
endif ... 

Pantxo Diribarne <pantxo>
Project Member
Sat 05 May 2018 02:13:39 AM UTC, original submission:

Filing bug report as requested in Octave mailing list ...

I've got a couple of scripts that create figures with several subplots. There are a couple of gui slider controls that, when changed, trigger redrawing of some of the subplots. Under 4.4.0 some of the subplots disappear when redrawn. The scripts still work fine under 4.2.2. I have attached one of the scripts. (I have tried to come up with a simpler script that demonstrates the problem, but have not been able to do so. The original script reads in sampled audio from a large file, but I changed the script to use simulated input data.)

Run the script, change around some of the gui slider controls and some of the subplots will disappear. This doesn't happen under 4.2.2.

This is under Windows 10 with the Qt graphics toolkit. Bug also exists under Linux.

I realize this may be too complicated an example to easily debug. Maybe someone else is seeing similar behavior in a simpler script though?

Regards,
Tony Richardson

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #44097:  bugtest.m added by None (11KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by None (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.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-05-05 pantxo CategoryPlotting => Plotting with OpenGL
        StatusNone => Confirmed
    2018-05-05 None Attached File- => Added bugtest.m, #44097

    Back to the top


    Powered by Savane 3.3