bugGNU Octave - Bugs: bug #41866, Figure's "currentaxes"...

 
 

bug #41866: Figure's "currentaxes" is empty after copying an axes in it

Submitter:  Pantxo Diribarne <pantxo>
Submitted:  Fri 14 Mar 2014 08:40:51 AM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 14 Mar 2014 11:36:23 AM UTC, comment #1: 

Sorry it's due to a local modif I had made. Could someone close this bug report.

Pantxo Diribarne <pantxo>
Group Member
Fri 14 Mar 2014 08:40:51 AM UTC, original submission:  

The following code demonstrates the problem:


close all
graphics_toolkit fltk
figure (1);
ax = axes ();
figure (2);
ax2 = copyobj (ax, 2);
get (2, "currentaxes") == ax2


In any graphics toolkit the resulting figure has an empty "currentaxes" property.
In the case "fltk" you can see that the new axes is not automatically redrawn. If you click inside figure 2, the axes is redrawn and afterward the "currentaxes" is then correctly set.
Even though "qt"  automatically draws the new axes, you also have to click in the figure to have the "currentaxes" property updated.
In "gnuplot" I didn't see a way to update the property.

Pantxo Diribarne <pantxo>
Group Member

 

(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

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by pantxo (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-03-15 rik5 StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code