bugGNU Octave - Bugs: bug #37752, doing set(gca, "parent",...


bug #37752: doing set(gca, "parent", gcf) repeatedly changes figure

Submitted by:  Muhali <muhali>
Submitted on:  Thu 15 Nov 2012 04:45:53 PM UTC  
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  Any

Add a New Comment(Rich Markup)

You are not logged in

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


( Jump to the original submission)

Thu 13 Feb 2014 05:43:12 AM UTC, comment #8:

It works for me. Closing report.

Rik <rik5>
Project Administrator
Wed 12 Feb 2014 11:04:35 PM UTC, comment #7:

I took a quick look at the patch. Looks like a nice and simple fix. Thanks.


Ben Abbott <bpabbott>
Project Member
Wed 12 Feb 2014 09:30:49 PM UTC, comment #6:


Your patch works for me.

Ben Abbott <bpabbott>
Project Member
Wed 12 Feb 2014 08:52:13 PM UTC, comment #5:

Hi, attached is a patch that avoids the problem (but doesn't say why reparent doesn't work).
I've also added the suggested test.

(file #30527)

Pantxo Diribarne <pantxo>
Project Member
Sat 15 Dec 2012 04:46:08 AM UTC, comment #4:

Once Jordi fixes this bug, perhaps a test should be added to avoid reversion?

Ben Abbott <bpabbott>
Project Member
Sat 15 Dec 2012 01:45:27 AM UTC, comment #3:

Simpler version

I don't have time to check at the moment, but might this be related to the changeset below?


Ben Abbott <bpabbott>
Project Member
Sat 15 Dec 2012 12:57:08 AM UTC, comment #2:

Calling gca() after setting "parent" creates the second axes.

Ben Abbott <bpabbott>
Project Member
Thu 15 Nov 2012 04:59:00 PM UTC, comment #1:

This is decidedly weird. Try using fltk and rotating the plot. This seems to create two axes objects and reassigns to each other the parentage?

Jordi GutiƩrrez Hermoso <jordigh>
Project Administrator
Thu 15 Nov 2012 04:45:53 PM UTC, original submission:

When doing

the figure keeps changing.

Muhali <muhali>


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

Attach Files:

Attached Files
file #30527:  reparentaxes_bug37752.patch added by pantxo (2KiB - text/x-patch)


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 pantxo (Updated the item)
  • -email is unavailable- added by bpabbott (Posted a comment)
  • -email is unavailable- added by jordigh (Posted a comment)
  • -email is unavailable- added by muhali (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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-13 rik5 StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
    2014-02-12 bpabbott StatusConfirmed => Ready For Test
    2014-02-12 pantxo Attached File- => Added reparentaxes_bug37752.patch, #30527
    2012-12-15 bpabbott Operating SystemGNU/Linux => Any
    2012-11-15 jordigh StatusNone => Confirmed

    Back to the top

    Powered by Savane 3.3