[vtkusers] Contour Plot

Martin Baumann mailsgetlost at web.de
Thu Oct 12 09:07:14 EDT 2006


Hi,

how to create a contour plot where there exist only a given number
of different colours?

I found an example on http://www.originlab.com that shows a picture
with a plot just the way I am planning to do:
contour plot
I open a file that contains an unstructured grid containing a scalar
as scalar field. This scalar value should be used to color the points.

I searched the VTK manual and the mailing list in this matter.
I am experimentating with vtkContourFilter but with this I can only get
the contour lines itself.
How can can I color the unstructured grid depending on the contour
zone?

Regards, M.B.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20061012/a7ce4a70/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: JensRadvan.gif
Type: image/gif
Size: 36350 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20061012/a7ce4a70/attachment.gif>


More information about the vtkusers mailing list