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

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

[Octave-bug-tracker] [bug #44394] graphics_toolkit check assumes axes is


From: jsh
Subject: [Octave-bug-tracker] [bug #44394] graphics_toolkit check assumes axes is directly under figure
Date: Sun, 01 Mar 2015 06:54:09 +0000
User-agent: Opera/9.80 (X11; Linux x86_64; Edition Linux Mint) Presto/2.12.388 Version/12.16

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

                 Summary: graphics_toolkit check assumes axes is directly
under figure
                 Project: GNU Octave
            Submitted by: jsh
            Submitted on: Sun 01 Mar 2015 06:54:08 AM GMT
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:


in axis.m line 196:

if (strcmp (get (get (ca, "parent"), "__graphics_toolkit__"), "gnuplot"))

assumes that the axes is a child of the figure which now nay not necessarily
be true, for example this fails:


h  = uipanel;
ax = axes( 'parent', h );
axis( ax, 'equal )


Line 196 in axis.m should possibly be change to a recursive or better check
mechanism. There could possibly also be other places where this will fail.





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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