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: Andreas Weber
Subject: [Octave-bug-tracker] [bug #43447] trisurf produces error message
Date: Tue, 21 Oct 2014 07:26:28 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.1.0

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

@Sigurd: You should use verbatim blocks to guard the code. I repost it for
you. I also can confirm that the error below is raised in Octave 3.8.2 only
with graphics_toolkit gnuplot. FLTK works as expected.


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);

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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