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

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

[Octave-bug-tracker] [bug #39287] fplot(@(x) 1, [0 1])


From: Muhali
Subject: [Octave-bug-tracker] [bug #39287] fplot(@(x) 1, [0 1])
Date: Wed, 19 Jun 2013 13:23:42 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0

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

                 Summary: fplot(@(x) 1, [0 1])
                 Project: GNU Octave
            Submitted by: muhali
            Submitted on: Wed 19 Jun 2013 06:23:41 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
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:


fplot(@(x) 1, [0 1])


should plot a straight line. But octave produces

error: interp1: table too short

This is perhaps related to


feval(@(x) 1, [0 1])


giving just 1, not [1 1], which I would expect and which is correctly produced
when using '1+0*x' instead.

The feval behavior is identical to ML though.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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