<html><body>
<p><tt>Martin Baumann <mailsgetlost@web.de> wrote on 13/10/2006 02:07:14:<br>
<br>
> Hi,<br>
> <br>
> how to create a contour plot where there exist only a given number<br>
> of different colours?<br>
> <br>
> I found an example on <a href="http://www.originlab.com">http://www.originlab.com</a> that shows a picture<br>
> with a plot just the way I am planning to do:<br>
> [image removed] <br>
> I open a file that contains an unstructured grid containing a scalar<br>
> as scalar field. This scalar value should be used to color the points.<br>
> <br>
> I searched the VTK manual and the mailing list in this matter.<br>
> I am experimentating with vtkContourFilter but with this I can only get<br>
> the contour lines itself.<br>
> How can can I color the unstructured grid depending on the contour <br>
> zone?<br>
> <br>
> Regards, M.B._______________________________________________<br>
> This is the private VTK discussion list. <br>
> Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk">http://www.vtk</a>.<br>
> org/Wiki/VTK_FAQ<br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</tt><br>
<tt>Martin,</tt><br>
<tt> Take a look at vtkBandedPolyDataContourFilter, not sure if there is a way to get the black lines between each band...</tt><br>
<br>
<tt><a href="http://www.vtk.org/doc/release/5.0/html/a01177.html">http://www.vtk.org/doc/release/5.0/html/a01177.html</a></tt><br>
<br>
<tt> regards, Dave P</tt></body></html>