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

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

[Octave-bug-tracker] [bug #29948] legend() doesn't accept handles of plo


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #29948] legend() doesn't accept handles of plot objects
Date: Sun, 23 May 2010 15:58:41 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.55 Safari/533.4

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

                 Summary: legend() doesn't accept handles of plot objects
                 Project: GNU Octave
            Submitted by: bpabbott
            Submitted on: Sun 23 May 2010 11:58:40 AM EDT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Ben Abbott
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Mac OS

    _______________________________________________________

Details:

Matlab's implementation supports the following.

x = 0:0.01:10;
clf
h = plot (x, sin(x), x, cos(x));
legend (h(2), "cos(x)")

Octave responds with ...

error: legend: expecting first argument to be axes handle





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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