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

 
 

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

Submitter:  Daisuke TAKAGO <takago>
Submitted:  Wed 09 Oct 2013 09:33:37 AM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  rik5
Originator Name:  Daisuke TAKATO Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
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>
Group 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>
Group administrator
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.

EXAMPLE:
figure
plot(1:10)
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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by takago (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-10-22 rik5 StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2013-10-17 rik5 StatusNone In Progress
        Assigned toNone rik5
    2013-10-09 rik5 Dependencies- bugs #39813 is dependent

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code