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

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

[Octave-bug-tracker] [bug #52268] 'hold on' interferes with auto-scaling


From: Rik
Subject: [Octave-bug-tracker] [bug #52268] 'hold on' interferes with auto-scaling mechanism for OpenGL toolkits
Date: Tue, 24 Oct 2017 18:48:40 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #10, bug #52268 (project octave):

Yes, the position value looks bonkers.  Interestingly, if I run the failing
code, but then set the position value back to its default, the plot looks
okay.


scale = 1000;
figure
xlabel a
ylabel b
hold on
plot (rand (20, 1) / scale)
set (gca, 'position', [0.13000   0.11000   0.77500   0.81500])


My new guess is that the behavior is caused by something wrong with the order
of callbacks and listeners.  After the plot command, because the axes are set
to auto-adjust, there should be a cascade of listeners fired. 


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52268>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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