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

 
 

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

Submitter:  None
Submitted:  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 Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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.

Anonymous
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>
Group Member
Mon 23 Apr 2018 04:57:15 PM UTC, original submission:  

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

Description:
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.

Reproduction:
Working:

plot(rand(1,20));
axis equal;
axis([1,20,0,2]);


Not working:

plot(rand(1,21));
axis equal;
axis([1,20,0,2]);


Anonymous

 

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

Attach Files:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group 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.14-f13d.
    Corresponding source code