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 OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  Rik <rik5>
Originator Name:  Daisuke TAKATO Open/Closed:  Closed
Release:  dev Operating 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.

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)
  •  

    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 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.3