[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55514] "axis equal" makes picture disappear
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #55514] "axis equal" makes picture disappear |
Date: |
Fri, 18 Jan 2019 18:27:52 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48 |
URL:
<https://savannah.gnu.org/bugs/?55514>
Summary: "axis equal" makes picture disappear
Project: GNU Octave
Submitted by: philipnienhuis
Submitted on: Sat 19 Jan 2019 12:27:50 AM CET
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Philip Nienhuis
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 5.0.1
Operating System: Any
_______________________________________________________
Details:
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.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sat 19 Jan 2019 12:27:50 AM CET Name: cea.tif Size: 265KiB By:
philipnienhuis
<http://savannah.gnu.org/bugs/download.php?file_id=46017>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55514>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55514] "axis equal" makes picture disappear,
Philip Nienhuis <=