bugGNU Octave - Bugs: bug #55514, "axis equal" makes...


bug #55514: "axis equal" makes picture disappear

Submitted by:  Philip Nienhuis <philipnienhuis>
Submitted on:  Fri 18 Jan 2019 11:27:50 PM UTC  
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Philip Nienhuis Open/Closed:  Closed
Release:  5.0.1 Operating System:  Any

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 01:27:33 PM UTC, comment #4: 

Sorry; that is ten bugs. Initially I only saw the three in my email notification.

Philip Nienhuis <philipnienhuis>
Project Member
Sat 02 Feb 2019 11:03:27 AM UTC, comment #3: 

Three bugs fixed with one cset, not bad.
Thanks Rik.

Philip Nienhuis <philipnienhuis>
Project Member
Sat 02 Feb 2019 06:23:18 AM UTC, comment #2: 

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
Fri 25 Jan 2019 06:12:48 PM UTC, comment #1: 

For the truncation of upper and lower parts of the picture I entered bug #55574.

Philip Nienhuis <philipnienhuis>
Project Member
Fri 18 Jan 2019 11:27:50 PM UTC, original submission:  

Steps to reproduce:

pic = imread ("cea.tif"); ## file is attached
hr = imshow (pic, "xdata", [-28493.16678, 2358.21162], "ydata", [4224973.14326, 4255884.54380]);  ## more or less square plot
axis equal  ; ## plot disappears

In 4.4.1 this works more or less as I expect, be it that the lower part of the picture gets truncated after "axis equal" and a rectangular plot is shown (looks like another bug BTW).

Interchanging the vector arguments for "xdata" and "ydata" in the call to imshow makes it work again in 5.0.1, incl. the truncated plot bottom.

AFAICS it happens in axis.m -> __axis__ at L.227 when the "plotboxaspectratio" property is set.

Philip Nienhuis <philipnienhuis>
Project Member


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

Attach Files:

Attached Files
file #46017:  cea.tif added by philipnienhuis (265KiB - image/tiff)


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 philipnienhuis (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-02-02 rik5 StatusNone => Fixed
        Open/ClosedOpen => Closed
    2019-01-18 philipnienhuis Attached File- => Added cea.tif, #46017

    Back to the top

    Powered by Savane 3.7