bugGNU Octave - Bugs: bug #43585, rectangle wrong axis calculation


bug #43585: rectangle wrong axis calculation

Submitted by:  Andreas Weber <andy1978>
Submitted on:  Wed 12 Nov 2014 10:38:07 AM UTC  
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment(Rich Markup)

You are not logged in

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


Fri 16 Dec 2016 10:59:27 PM UTC, comment #2:

This issue is (slightly changed) still present in Octave 4.2.0.

When I run the code from comment #0, then afterwards axis() gives me
So the calculation of the x-limits has improved, but the y-limits are still off. Accordingly, the top (and bottom) line of this square are still not displayed in the figure.

Hartmut <hardy>
Tue 03 Feb 2015 05:50:55 AM UTC, comment #1:

The problem seems to be that the C++ xlim and ylim updaters are called when the following code is executed in patch.m

Rik <rik5>
Project Administrator
Wed 12 Nov 2014 10:38:07 AM UTC, original submission:

Since cset 75f8926deef1 the following code only shows the axes because axis limits are calculated wrong.

axis () returns

so no scatter point or rectangle is visible. Octave 3.8.2 and default cset 10082673a8f0 (parent of 75f8926deef1) returns for axis:

which is okay. Btw, the "error: set: "zlim" is read-only" for rectangle, introduced from cset 75f8926deef1, was fixed with cset 87c3848cf3c0.

Andreas Weber <andy1978>
Project Member


(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 hardy (Posted a comment)
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by andy1978 (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-22 mtmiller CategoryNone => Octave Function
    2015-02-03 rik5 StatusNone => Confirmed

    Back to the top

    Powered by Savane 3.4