bugGNU Octave - Bugs: bug #40214, rectangle() should not erase the...


bug #40214: rectangle() should not erase the current axes

Submitted by:  Daisuke TAKAGO <takago>
Submitted on:  Wed 09 Oct 2013 09:33:37 AM UTC  
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: Rik <rik5>
Originator Name: Daisuke TAKATOOpen/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

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


Tue 22 Oct 2013 03:52:25 PM UTC, comment #3:

Fixed in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/f0bc865db55f). This will be a part of the 3.8 release due in just a few weeks.

Rik <rik5>
Project AdministratorIn charge of this item.
Wed 09 Oct 2013 02:13:56 PM UTC, comment #2:

I think we might as well define a rectangle graphics object. That should not be too hard to do. If we do that, it will probably make it much easier to get compatibile behavior.

John W. Eaton <jwe>
Project Administrator
Wed 09 Oct 2013 01:50:17 PM UTC, comment #1:

Yes, Octave shouldn't be deleting the other objects. The issue is explained in bug #40212--Octave doesn't have a base graphics object of type rectangle. Still it shouldn't be too hard to do the right thing here.

Rik <rik5>
Project AdministratorIn charge of this item.
Wed 09 Oct 2013 09:33:37 AM UTC, original submission:

In Current development version, "rectangle()" erases the current axes. I think "rectangle()" should not erase the current axes for matlab compatibility.

rectangle('position',[1 2 3 4]); % This erase the curret axes
axis([0 10 0 10])

Daisuke TAKAGO <takago>


(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

   bug dependencies.


Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by takago (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 22 Oct 2013 03:52:25 PM UTCrik5StatusIn Progress=>Fixed
    Thu 17 Oct 2013 06:00:19 PM UTCrik5StatusNone=>In Progress
      Assigned toNone=>rik5
    Wed 09 Oct 2013 01:48:33 PM UTCrik5Dependencies-=>bugs #39813 is dependent

    Back to the top

    Powered by Savane 3.1-cleanup1