[Top][All Lists]

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

[Octave-bug-tracker] [bug #42561] gnuplot colors incorrect for 'demo tri

From: Rik
Subject: [Octave-bug-tracker] [bug #42561] gnuplot colors incorrect for 'demo trimesh'
Date: Thu, 14 Dec 2017 17:15:15 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #28, bug #42561 (project octave):

Matlab is a bit vague about the case of "edgecolor" = "flat", but they say

Use a different color for each edge based on the values in the CData property.
First you must specify the CData property as a matrix the same size as ZData.
The color value at the first vertex of each face (in the positive x and y
directions) determines the color for the adjacent edges. You cannot use this
value when the EdgeAlpha property is set to 'interp'.

I interpret the "first vertex of each face (in the positive x and y
direction)" to mean the first vertex encountered when heading away from the
origin.  So |-1| < |-2|.  This explains the OpenGL results just fine.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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