[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #66563] ezplot of constant fcn fails: error: e
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #66563] ezplot of constant fcn fails: error: error: XX(0): subscripts must be either integers 1 to (2^63)-1 or logicals |
Date: |
Tue, 14 Jan 2025 11:34:17 -0500 (EST) |
Follow-up Comment #6, bug #66563 (group octave):
@Colin: See
https://octave.discourse.group/t/need-matlab-test-of-constant-functions/6082
I asked for verification of Matlab behavior. You are correct that feval()
returns a single value of the constant function for multiple inputs. So, for
Matlab compatibility we can't change that. See the attached changeset which
expands ezplot to do polar or 2-D plots of constant functions. I found the
same solution you did independently.
Given that Matlab doesn't handle constant functions for contour plots, do we
really need Octave to do so? I would probably vote no.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66563>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #66563] ezplot of constant fcn fails: error: error: XX(0): subscripts must be either integers 1 to (2^63)-1 or logicals,
Rik <=