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

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

[Octave-bug-tracker] [bug #57677] Finished scatter plot does not have co


From: Rik
Subject: [Octave-bug-tracker] [bug #57677] Finished scatter plot does not have correct xlim, ylim until figure size is changed
Date: Mon, 27 Jan 2020 14:20:10 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #57677 (project octave):

                 Summary: scatter puts wrong x-axis => Finished scatter plot
does not have correct xlim, ylim until figure size is changed

    _______________________________________________________

Follow-up Comment #2:

Confirmed as well on Linux.

This is likely related to a long-standing bug with updating graphic plots. 
drawnow() is not sufficient to force the axes to update, and so slightly
changing the figure window size with the mouse is one possibility.  Or one can
algorithmically turn off/on updaters with something like


set (gca, "xlimmode", "manual", "ylimmode", "manual");
set (gca, "xlimmode", "auto", "ylimmode", "auto");


Someone could also dig in to scatter.m and __scatter__.m.  It is possible that
updating of the axes is disabled while potentially hundreds of patch objects
are added, and then only turned on again at the end.  And somehow this isn't
working.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57677>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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