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

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

[Octave-bug-tracker] [bug #62883] 'parent' property not working as expec


From: Muhali
Subject: [Octave-bug-tracker] [bug #62883] 'parent' property not working as expected
Date: Wed, 10 Aug 2022 05:06:59 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?62883>

                 Summary: 'parent' property not working as expected
                 Project: GNU Octave
               Submitter: muhali
               Submitted: Wed 10 Aug 2022 02:06:56 AM PDT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 7.1.0
         Discussion Lock: Any
        Operating System: GNU/Linux


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 10 Aug 2022 02:06:56 AM PDT By: Muhali <muhali>
suppose you do


x = 1 : 10 ;
y = rand(2, 10) ;

clf ;

h1 = hggroup ;
plot(x, y(1,:), x, y(2,:), 'parent', h1) ;
length(allchild(h1))

h2 = hggroup ;
plot(x, y(1,:), 'parent', h2, x, y(2,:), 'parent', h2) ;
length(allchild(h2))


then you get for the first plot command one line object (instead of two for
Matlab) and for the second two line objects (instead of an error in Matlab).








    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62883>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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