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

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

[Octave-bug-tracker] [bug #43447] trisurf produces error message


From: Sigurd Angenent
Subject: [Octave-bug-tracker] [bug #43447] trisurf produces error message
Date: Tue, 21 Oct 2014 14:26:32 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.104 Safari/537.36

Follow-up Comment #5, bug #43447 (project octave):

Here is the content of the file tetra.m
vertices = [  1  1  1;
             -1 -1  1;
              1 -1 -1;
             -1  1 -1]
triangles = [ 1 2 3;
              2 1 4;
              3 2 4;
              4 1 3]

X = vertices(:, 1);
Y = vertices(:, 2);
Z = vertices(:, 3);

trisurf(triangles, X, Y, Z);


Here is the Octave output :

octave:1> tetra
vertices =

   1   1   1
  -1  -1   1
   1  -1  -1
  -1   1  -1

triangles =

   1   2   3
   2   1   4
   3   2   4
   4   1   3

error: horizontal dimensions mismatch (4x3 vs 2x1)
error: called from:
error:  
/usr/local/Cellar/octave/3.8.1/share/octave/3.8.1/m/plot/util/private/__go_draw_axes__.m
at line 760, column 33
error:  
/usr/local/Cellar/octave/3.8.1/share/octave/3.8.1/m/plot/util/private/__go_draw_figure__.m
at line 172, column 17
error:  
/usr/local/Cellar/octave/3.8.1/share/octave/3.8.1/m/plot/util/__gnuplot_drawnow__.m
at line 86, column 5
octave:2> 


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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