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

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

[Octave-bug-tracker] [bug #35321] invalid handle for legend after using


From: anonymous
Subject: [Octave-bug-tracker] [bug #35321] invalid handle for legend after using plotyy
Date: Tue, 17 Jan 2012 14:58:21 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:6.0.2) Gecko/20100101 Firefox/6.0.2

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

                 Summary: invalid handle for legend after using plotyy
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Tue 17 Jan 2012 14:58:20 UTC
                Category: Plotting with gnuplot
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Paul Stansell
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.4.3
        Operating System: GNU/Linux

    _______________________________________________________

Details:

The following code gives and error in Octave-3.4.3 but works in Octave-3.2.3:


x = linspace(0,2*pi,100);
y = sin(x);

ax = plotyy (x, y, x-1, y+1);

plot(x,y,x,cos(x));
legend('sin','cos');


The error occurs after the last call to legend and no legend is drawn.  The
error is:


error: get: invalid handle (= -31.1477)
error: evaluating argument list element number 1
error: evaluating argument list element number 1
error: invalid empty index list
error: called from:
error:   /usr/local/share/octave/3.4.3/m/plot/legend.m at line 136, column 47






    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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