[vtkusers] Adding and coloring data to a vtkLineSource

Andrew E. Slaughter andrew.slaughter at inl.gov
Thu Oct 4 11:45:21 EDT 2018


I am trying to create a line that includes “data” along the axis, one value for each cell. However, I cannot get the colormap to show the data. I have attached the script, I would greatly appreciate help getting this working.

I am using python bindings to VTK7.1 on MacOS.

Thank you,

Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20181004/f034549c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cylinder_color.py
Type: text/x-python-script
Size: 1185 bytes
Desc: cylinder_color.py
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20181004/f034549c/attachment.bin>


More information about the vtkusers mailing list