[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #39370] contourc adds duplicates to the start
From: |
Nicholas Jankowski |
Subject: |
[Octave-bug-tracker] [bug #39370] contourc adds duplicates to the start and end of the 1st level |
Date: |
Mon, 7 Dec 2020 22:39:20 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 |
Follow-up Comment #6, bug #39370 (project octave):
as of Octave v.6.1.0, the examples from comment #0:
The help contourc help example now reads:
x = 0:2;
y = x;
z = x' * y;
c = contourc (x, y, z, 2:3)
=> c =
2.0000 1.0000 1.0000 2.0000 2.0000 3.0000 1.5000 2.0000
4.0000 2.0000 2.0000 1.0000 1.0000 2.0000 2.0000 1.5000
which matches wat Octave 6.1.0 produces:
>> x = 0:2;
>> y = x;
>> z = x' * y;
>> a = contourc (x, y, z, 2:3)
a =
2.0000 1.0000 1.0000 2.0000 2.0000 3.0000 1.5000 2.0000
4.0000 2.0000 2.0000 1.0000 1.0000 2.0000 2.0000 1.5000
Matlab 2020b produces:
>> x = 0:2;
>> y = x;
>> z = x' * y;
>> contourc (x, y, z, 2:3)
ans =
2.0000 1.0000 2.0000 3.0000 1.5000 2.0000
2.0000 2.0000 1.0000 2.0000 2.0000 1.5000
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?39370>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #39370] contourc adds duplicates to the start and end of the 1st level,
Nicholas Jankowski <=