octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #41866] Figure's "currentaxes" is empty after


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #41866] Figure's "currentaxes" is empty after copying an axes in it
Date: Fri, 14 Mar 2014 08:40:52 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0

URL:
  <http://savannah.gnu.org/bugs/?41866>

                 Summary: Figure's "currentaxes" is empty after copying an
axes in it 
                 Project: GNU Octave
            Submitted by: pantxo
            Submitted on: ven. 14 mars 2014 08:40:51 GMT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

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.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41866>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]