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

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

[Octave-bug-tracker] [bug #38817] invalid handle error after legend() an


From: Sébastien Villemot
Subject: [Octave-bug-tracker] [bug #38817] invalid handle error after legend() and two calls to set()
Date: Wed, 24 Apr 2013 09:16:11 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20100101 Firefox/10.0.12 Iceweasel/10.0.12

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

                 Summary: invalid handle error after legend() and two calls to
set()
                 Project: GNU Octave
            Submitted by: svillemot
            Submitted on: mer. 24 avril 2013 09:16:09 GMT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.4
        Operating System: GNU/Linux

    _______________________________________________________

Details:

The following code crashes:


x=0:20;
y=x;
yy=20:-1:0;
hold on
grid on

line_handles(1) = line(x, y,  'Color', 'r');
line_handles(2) = line(x, yy, 'Color', 'k');

lh = legend(line_handles, {'y','yy'});
set(lh, 'orientation', 'horizontal');
set(lh, 'location', 'southeast');


The second call to set() gives the following error:

error: set: invalid handle (= -10.632)


Note that grouping together the last three lines (in a single call to
legend()) works fine.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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