|
From: | Rik |
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 16:41:31 +0000 (UTC) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Update of bug #49766 (project octave): Status: None => Confirmed Operating System: GNU/Linux => Any _______________________________________________________ Follow-up Comment #1: What are the limits in Matlab after executing ezplot for the sample? ezplot(@(x) 2*ones(size(x))) axis This is easy to fix. The issue is in __ezplot__.m where Octave finds the limits of the data and then calls axis. But if the data is constant then the upper and lower limits for one of the axes are the same and the axis() function issues an error. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?49766> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |