<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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 class="moz-txt-link-freetext" 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>
<img alt="contour plot" src="cid:part1.08030202.03010309@web.de"
 height="382" width="500"><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>
</body>
</html>