bugGNU Octave - Bugs: bug #41849, copyobj creates extra axes when...


bug #41849: copyobj creates extra axes when copying to a new figure

Submitted by:  sergey plotnikov <nul0m>
Submitted on:  Wed 12 Mar 2014 07:35:26 PM UTC  
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  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.


Thu 13 Mar 2014 08:59:12 PM UTC, comment #2: 

I pushed a changeset to fix this on the default branch (http://hg.savannah.gnu.org/hgweb/octave/rev/5ec4b7006b82).

Rik <rik5>
Project Administrator
Wed 12 Mar 2014 07:40:08 PM UTC, comment #1: 

I mean something like this may help.

sergey plotnikov <nul0m>
Wed 12 Mar 2014 07:35:26 PM UTC, original submission:  

The following example may simply highlight it:

ax = gca;
newobj = copyobj(ax,figure());
findobj(gcf,'type','axes') == newobj

The problem might be solved by adding some condition before the line 49 of copyobj.m.

sergey plotnikov <nul0m>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #30877:  bug41849.patch added by nul0m (595B - text/x-patch - possible solution)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by nul0m (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-03-13 rik5 StatusNone => Fixed
        Open/ClosedOpen => Closed
    2014-03-12 nul0m Attached File- => Added bug41849.patch, #30877

    Back to the top

    Powered by Savane 3.5