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 Nov 15 16:45:53 2012  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

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

It works for me. Closing report.

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

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

http://hg.savannah.gnu.org/hgweb/octave/rev/0cbd0d285541

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

Pantxo,

Your patch works for me.

Ben Abbott <bpabbott>
Project Member
Wed Feb 12 20:52:13 2014, 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 Dec 15 04:46:08 2012, comment #4:

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

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

Simpler version

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

http://hg.savannah.gnu.org/hgweb/octave/rev/1ac3c906990a

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

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

Ben Abbott <bpabbott>
Project Member
Thu Nov 15 16:59:00 2012, 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 Nov 15 16:45:53 2012, 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 File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Feb 13 05:43:12 2014rik5StatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Wed Feb 12 23:04:35 2014bpabbottStatusConfirmed=>Ready For Test
    Wed Feb 12 20:52:13 2014pantxoAttached File-=>Added reparentaxes_bug37752.patch, #30527
    Sat Dec 15 00:57:08 2012bpabbottOperating SystemGNU/Linux=>Any
    Thu Nov 15 16:59:00 2012jordighStatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup