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

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

[Octave-bug-tracker] [bug #47329] patch arg is called 'faces' instead of


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #47329] patch arg is called 'faces' instead of 'face'
Date: Thu, 03 Mar 2016 14:23:23 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #1, bug #47329 (project octave):

I just ran the following on Matlab R2012a and Octave 4.0.0:

[x,y,z] = meshgrid (-2:0.5:2, -2:0.5:2, -2:0.5:2);
val = x.^2 + y.^2 + z.^2;
fv = isosurface (x, y, z, val, 1);
figure;
patch ('Face', fv.faces, 'Vertices', fv.vertices)


They both fail.
This line works on both:

patch ('Faces', fv.faces, 'Vertices', fv.vertices)


Unless something has changed in recent versions of Matlab, the Mathworks
documentation seems to be erroneous.
Another indication for this is that the examples further down on the same page
use 'Faces' (not 'Face').

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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