[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53840] Disappearing subplots in 4.4.0
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #53840] Disappearing subplots in 4.4.0 |
Date: |
Sat, 5 May 2018 05:27:16 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Linux; U; Android 4.1.2; fr-fr; GT-P5110 Build/JZO54K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30 |
Update of bug #53840 (project octave):
Category: Plotting => Plotting with OpenGL
Status: None => Confirmed
_______________________________________________________
Follow-up 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 ...
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53840>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/