<div class="gmail_quote">On Fri, Oct 22, 2010 at 10:15 AM, Eric E. Monson <span dir="ltr"><<a href="mailto:emonson@cs.duke.edu">emonson@cs.duke.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<br>
<br>
When you say "using their direction" you mean you want to color your glyphs by a certain vector component, you need to build a lookup table and specify there which vector component to use (or whether to use the magnitude instead). I'll attach an example that I made by modifying your code (including using a different data source just for convenience in my testing).<br>
<br>
-Eric<br></blockquote><div> </div>Ravikg, if Eric's code does the trick (which it sounds like it should), it would be great if you could add an example to this page: <a href="http://www.vtk.org/Wiki/VTK/Examples/Python">http://www.vtk.org/Wiki/VTK/Examples/Python</a></div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div class="gmail_quote"><br></div><div class="gmail_quote">Let me know if you need help with the details of the wiki.</div><div class="gmail_quote"><br></div>
<div class="gmail_quote">Thanks,</div><div class="gmail_quote"><br><div>David </div></div>