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

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

[Octave-bug-tracker] [bug #40898] scatter3 failure


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #40898] scatter3 failure
Date: Sun, 15 Dec 2013 20:54:52 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:25.0) Gecko/20100101 Firefox/25.0 SeaMonkey/2.22.1

Update of bug #40898 (project octave):

                  Status:            Works For Me => Confirmed              
                 Release:                   3.6.4 => dev                    
        Operating System:       Microsoft Windows => Any                    

    _______________________________________________________

Follow-up Comment #2:

Confirmed on Linux (Mageia 2) with Octave-3.8.0-rc1 and Windows (MinGW) with
Octave-3.7.7 (from Nov. 30).

Rik, adapt n=100 to n=101 and try again, please.

It works with n=100; but with n=101 I get:

>> clear
>>  clf
>>  n=101
n =  101
>>  x = rand (n,1);
>>  y = rand (n,1);
>>  z = rand (n,1);
>>  s=20*rand(n,1);
>>  c=rand(n,3);
>>  scatter3 (x(:), y(:), z(:), s(:), c(:), "s");
error: __scatter__: A(I,J): row index out of bounds; value 281 out of bound
101
error: called from:
error:  
X:\Octave\octave-3.7.7+_MXE\share\octave\3.7.7+\m\plot\draw\private\__scatter__.m
at line 220, column 11
error:  
X:\Octave\octave-3.7.7+_MXE\share\octave\3.7.7+\m\plot\draw\scatter3.m at line
83, column 10
>>


With gnuplot I get slightly different numbers:

>> clear
>>  clf
>>  n=101
n =  101
>>  x = rand (n,1);
>>  y = rand (n,1);
>>  z = rand (n,1);
>>  s=20*rand(n,1);
>>  c=rand(n,3);
>>  scatter3 (x(:), y(:), z(:), s(:), c(:), "s");
error: __scatter__: A(I,J): row index out of bounds; value 139 out of bound
101
error: called from:
error:  
X:\Octave\octave-3.7.7+_MXE\share\octave\3.7.7+\m\plot\draw\private\__scatter__.m
at line 220, column 11
error:  
X:\Octave\octave-3.7.7+_MXE\share\octave\3.7.7+\m\plot\draw\scatter3.m at line
83, column 10
>>


On Linux I get yet other index-out-of-bounds numbers.

(Release set to dev)


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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