[Top][All Lists]

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

[Octave-bug-tracker] [bug #57016] Autoscale is not called when the windo

From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #57016] Autoscale is not called when the window size is changed from inside s function.
Date: Tue, 8 Oct 2019 07:16:29 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Update of bug #57016 (project octave):

                Category:                Plotting => Plotting with OpenGL   
                  Status:            Works For Me => Confirmed              


Follow-up Comment #5:

Ok, I can confirm that if the figure doesn't exist before calling the script,
the axes is not redrawn correctly until the next redraw. 

I think this is the same kind of race condition as in bug #56110.  Here the
workaround is to force graphics events to be processed before trying the
resize the figure:

x = [1:1:100];
plot(x, sin(x));
set(gcf, 'position', [get(gcf, 'position')(1:2) 800 400])

@Doug: do you agree that this is kind of a duplicate of bug #56110?


Reply to this item at:


  Message posté via Savannah

reply via email to

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