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

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

[Octave-bug-tracker] [bug #49494] rescaling axes does not modify gca.yli


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #49494] rescaling axes does not modify gca.ylim
Date: Mon, 7 Nov 2016 09:41:48 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0

Follow-up Comment #3, bug #49494 (project octave):

I wouldn't consider this a workaround but the proper way to do it.
AFAIU, Octave (and Matlab) buffers commands that change graphics settings and
executes them all at once when it deems it necessary or when the user calls
drawnow. This is probably done to improve performance instead of calling all
the necessary update function after each change of any property.

That said, you don't have to call "drawnow" everytime after you changed the
graphics properties. Octave will update the properties when it deems it
necessary.
However, you should always call "drawnow" (or a function that calls "drawnow"
such as "pause") before getting properties of graphics if you expect to get
updated values.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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