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 FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: ConfirmedAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating 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 File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by hardy (Posted a comment)
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by andy1978 (Submitted the item)

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

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 22 Feb 2015 06:41:13 PM UTCmtmillerCategoryNone=>Octave Function
    Tue 03 Feb 2015 05:50:55 AM UTCrik5StatusNone=>Confirmed

    Back to the top

    Powered by Savane 3.1-cleanup1