bugGNU Octave - Bugs: bug #53724, axis "equal" clears plot...


bug #53724: axis "equal" clears plot that are larger than the defined axes

Submitted by:  None
Submitted on:  Mon 23 Apr 2018 04:57:15 PM UTC  
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Dominic Ernst Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  4.2.2
Operating System:  Microsoft Windows

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 02 Feb 2019 06:25:09 AM UTC, comment #3: 

Fixed on the development branch in this cset: https://hg.savannah.gnu.org/hgweb/octave/rev/a7dfb00d5bf5.

This will be a part of the Octave 6.1 release.  To access the fix sooner download axis.m from the Mercurial development branch and replace your local copy.

Closing report.

Rik <rik5>
Project Administrator
Tue 23 Oct 2018 06:42:49 AM UTC, comment #2: 

In the meantime i have upgraded to Ovtave4.4.1. However, the behavior is still exaclty the same. Furhtermore, using the description you gave in report https://savannah.gnu.org/bugs/?54848, i can reproduce the same behavior as you do. (Zooming in and then zooming back out clears the plot and axes.)
Note that for my report, only the plot gets cleared (or not displayed i don't know), however other figure elements (axis, ticks, grids, lables) remain.

Mon 22 Oct 2018 06:39:47 PM UTC, comment #1: 

What happens if after the "axis equal" command, you zoom in or out?

I also noted this behavior but in a wider context and and I filed a different bug report for this: bug #54848. What I reported ther smells of what is described here.
Note that I explored a bit more and found that fltk and Qt behave slightly differently. It seems the plot disappears at certain zoom levels and reappears with larger and/or smaller zoom levels.

Philip Nienhuis <philipnienhuis>
Project Member
Mon 23 Apr 2018 04:57:15 PM UTC, original submission:  

This but relates to the bug reported and partly fixed in #49775

If a 2d plot display of data is limited by axis([x_lo x_hi y_lo y_hi]) it is cleared immediatley after invoking axis equal.


axis equal;

Not working:

axis equal;



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by pantxo (Updated the item)
  • -email is unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-02-02 rik5 StatusConfirmed => Fixed
        Open/ClosedOpen => Closed
    2018-10-22 pantxo CategoryPlotting => Plotting with OpenGL
        StatusNone => Confirmed

    Back to the top

    Powered by Savane 3.7