<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>
<div>Wireframes in ParaView are colored the same way as most of the other representations (like surface, points, or volume). In all cases in order to color by something other than a solid color, you need a field defined over the mesh.</div>
</div>
</div>
<div><br>
</div>
<div>It sounds you want to color based on the physical location. You can create a field like that easily with the Calculator filter. Just make the expression of the Calculator "coords" (which is a special vector representing the point coordinates). Here is
 a screen shot of creating a coloring similar to your example of the disk_out_ref dataset using just the ParaView GUI.</div>
<div><br>
</div>
<div><img src="cid:52987C8A-5D8E-44D7-826C-F840B8833C71" type="image/png"></div>
<div><br>
</div>
<div>-Ken</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Michael Nolde <<a href="mailto:mnolde@gmx.net">mnolde@gmx.net</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday, May 19, 2015 at 9:07 AM<br>
<span style="font-weight:bold">To: </span>Paraview Mailing List <<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>><br>
<span style="font-weight:bold">Subject: </span>[EXTERNAL] [Paraview] Color wireframe by color gradient<br>
</div>
<div><br>
</div>
<div>
<div>
<div style="font-family: Verdana;font-size: 12.0px;">
<div>Dear all,</div>
<div> </div>
<div>I wondered if it is possible to color a wireframe with a a color gradient (or random colors)</div>
<div>instead of a solid color. I have a 3D mesh exported from GMSH, with a lot of interior points/edges.</div>
<div>I use a shrink filter in Paraview to thow the interior edges, but since the are all colored homogenously</div>
<div>it is impossible to distinguish any features.</div>
<div>Here's a Screenshot:</div>
<div><a href="http://flatpolar.org/paraview_mesh3_maxsize5.png">http://flatpolar.org/paraview_mesh3_maxsize5.png</a></div>
<div> </div>
<div>I would like to have the mesh shown at least a little bit more like in GMSH:</div>
<div><a href="http://flatpolar.org/gmsh_mesh3_maxsize5.png">http://flatpolar.org/gmsh_mesh3_maxsize5.png</a></div>
<div> </div>
<div>In best case, the coloring of the edges would be depending on the X-,Y-,and Z-location.</div>
<div>I found this screenshot featuring different edge colors, but the model is created from</div>
<div>Python and visualized in an OpenGL window instead of Paraview.</div>
<div><a href="http://www.paraview.org/Wiki/images/thumb/d/d7/ContourFilterPython3.png/600px-ContourFilterPython3.png">http://www.paraview.org/Wiki/images/thumb/d/d7/ContourFilterPython3.png/600px-ContourFilterPython3.png</a></div>
<div>The idea seems to be to set the 'ColorAttributeType' to 'POINT_DATA', but this doesn't help me much.</div>
<div> </div>
<div>Could anyone hint me to a solution of how to achieve a multi-colored wireframe in Paraview?</div>
<div> </div>
<div>Thanks in advance,</div>
<div>Michael</div>
</div>
</div>
</div>
</span>
</body>
</html>