3-D Visualization - The MathWorks - #151

/ 212


catalogue search
P. 151
P. 152
P. 153
P. 154
P. 155
P. 156
P. 157
P. 158
P. 159
P. 160
P. 161
P. 162
P. 163
P. 164
P. 165
P. 166
P. 167
P. 168
P. 169
P. 170
P. 171
P. 172
P. 173
P. 174
P. 175
P. 176
P. 177
P. 178
P. 179
P. 180
P. 181
P. 182
P. 183
P. 184
P. 185
P. 186
P. 187
P. 188
P. 189
P. 190
P. 191
P. 192
P. 193
P. 194
P. 195
P. 196
P. 197
P. 198
P. 199
P. 200


See other catalogues for The MathWorks

Text version of the page
Specifying Patch Coloring
Coloring Edges with Shared Vertices
Each patch face is bound by edges, which are line segments that connect the vertices. When patches have multiple faces that share vertices, some of the edges might overlap. In such cases, the edges of the most recently drawn face overlie previously drawn edges.
For example, this illustration shows a patch with four faces and flat colored edges (FaceColor set to none, EdgeColor set to flat).
The arrows indicate the order in which each edge is drawn in the first, second, third, and fourth face. The color at each vertex determines the color of the edge that follows it. Notice how the second edge in the first face would be green except that the second face drew its fourth edge from the magenta vertex. You can see similar effects in all shared edges.
For EdgeColor set to interp, MATLAB interpolates colors between adjacent vertices. In this case, the order in which you specify the vertices does not affecttheedgecolor.
5-17

pageCatalog pdf di En 2012-06-22-01