Oh ok , so i guess it somehow picks up the internal arrays from the RTanalyticsSOurce.<br>Is there anyway to have some of the lines as different colors ? I mean like categorical data.<br>There is also a Parallel Coordinates in the Charts too .<br>
<br><div class="gmail_quote">On Fri, Mar 25, 2011 at 10:38 PM, David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Fri, Mar 25, 2011 at 8:12 PM, Darshan Pai &lt;<a href="mailto:darshanpai@gmail.com">darshanpai@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; This example<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK/Examples/Python/Infovis/ParallelCoordinatesExtraction" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Python/Infovis/ParallelCoordinatesExtraction</a><br>
&gt; I can run it , but can someone please explain this part in the code<br>
&gt; rep.SetInputArrayToProcess(0,0,0,0,&#39;RTDataGradient&#39;)<br>
&gt; rep.SetInputArrayToProcess(1,0,0,0,&#39;RTData&#39;)<br>
&gt; rep.SetInputArrayToProcess(2,0,0,0,&#39;Elevation&#39;)<br>
&gt; rep.SetInputArrayToProcess(3,0,0,0,&#39;BrownianVectors&#39;)<br>
&gt;<br>
&gt; How is this data acquired ? I never used Infovis before so I am not clear what these lines are doing exactly<br>
&gt; Thanks in advance<br>
&gt; Darshan<br>
<br>
</div></div>The SetInputArrayToProcess function is among the most confusing ones I<br>
have encountered (it doesn&#39;t have anything to do with vtkInfovis)<br>
<br>
<a href="http://www.vtk.org/doc/nightly/html/classvtkAlgorithm.html#a6bea16e1329609dbccce0ff8d2367484" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkAlgorithm.html#a6bea16e1329609dbccce0ff8d2367484</a><br>
<br>
I believe all that is happening is the arrays RTDataGradient, RTData,<br>
Elevation, BrownianVectors are being set as vertical axes in the<br>
parallel coordinate representation. The first parameter, &#39;idx&#39;, is<br>
setting the 0th array, the 1st array, etc. I just always put 0&#39;s for<br>
the rest of the arguments.<br>
<br>
It has always seemed to me that for saneness there should be a<br>
<br>
void SetInputArrayToProcess (int idx, const char *name)<br>
<br>
so the explanation of &quot;I don&#39;t know, just put 0&#39;s&quot; doesn&#39;t ever have to be used.<br>
<font color="#888888"><br>
David<br>
</font></blockquote></div><br>