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

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

[Octave-bug-tracker] [bug #49766] ezplot of constant fcn fails: error: a


From: Colin Macdonald
Subject: [Octave-bug-tracker] [bug #49766] ezplot of constant fcn fails: error: axis: LIMITS(3) must be less than LIMITS(4)
Date: Mon, 5 Dec 2016 07:11:04 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0

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

                 Summary: ezplot of constant fcn fails: error: axis: LIMITS(3)
must be less than LIMITS(4)
                 Project: GNU Octave
            Submitted by: cbm
            Submitted on: Mon 05 Dec 2016 07:11:03 AM GMT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:


>> ezplot(@(x) 2*ones(size(x)))
error: axis: LIMITS(3) must be less than LIMITS(4)
error: called from
    axis>__axis__ at line 309 column 9
    axis at line 152 column 7
    __ezplot__ at line 441 column 11
    ezplot at line 76 column 19


If you don't vectorize, you get a slightly different error:


>> ezplot(@(x) 2)
error: XX(0): subscripts must be either integers 1 to (2^31)-1 or logicals
error: called from
    __ezplot__>find_valid_domain at line 497 column 12
    __ezplot__ at line 387 column 18
    ezplot at line 76 column 19


Both work in Matlab and DTRT.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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