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

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

[Octave-bug-tracker] [bug #48626] Patch with FaceColor "flat" does not d


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #48626] Patch with FaceColor "flat" does not display correctly if "FaceVertexCData" is a scalar
Date: Thu, 4 Aug 2016 17:33:35 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:49.0) Gecko/20100101 Firefox/49.0

Follow-up Comment #4, bug #48626 (project octave):

Thanks for pointing out the issues in demo isosurface 2.
The lighting was actually correct since isosurface without output arguments
should display a lighted patch object. However, that was misleading here since
the vertexnormals are popinting in different directions in the different
subplots which made the patches appear differently when they shouldn't.

Attached, please find a changeset for isosurface.m which changes that demo in
that way and uses Matlab compatible syntax as should be used in demos. I also
moved the textbox a little bit more to the center of the figure and increased
the font size slightly. Initially, this demo was thought as a test for the
'noshare' option and the different input types. Since tests should not display
figures, I made it into a demo instead.
Additionally, a demo is added for the first example in comment #0.

(file #38107)
    _______________________________________________________

Additional Item Attachment:

File name: bug48626_isosurface_demos.patch Size:2 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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