<div dir="ltr">It&#39;s not obvious what could be going wrong given the code snippet. Can you post the full code?<div><br>Thanks</div><div>Utkarsh</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 13, 2013 at 10:20 PM, ÅÓÇìÔ´ <span dir="ltr">&lt;<a href="mailto:pangqingyuan1991@gmail.com" target="_blank">pangqingyuan1991@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 dir="ltr">I use such code:<div>//////////////////////////////////////////////////////////<br><div>vtkFloatArray *pointScalars = vtkFloatArray::New();</div>
<div>pointScalars-&gt;setName(&quot;Velocity&quot;);</div><div>
while(...){</div><div>...</div><div>...</div><div>
<pre style="margin-top:0px;margin-bottom:0px"><span style>pointScalars</span><span style>-&gt;</span><span style>InsertTuple1</span><span style>(myId</span><span style>,</span><span style>velocity</span><span style>);</span></pre>

<pre style="margin-top:0px;margin-bottom:0px"><span style>}</span></pre><pre style="margin-top:0px;margin-bottom:0px"><pre style="margin-top:0px;margin-bottom:0px"><span style>output</span><span style>-&gt;</span><span style>GetPointData</span><span style>()-&gt;</span><span style>SetScalars</span><span style>(</span><span style>pointScalars</span><span style>);</span></pre>

<pre style="margin-top:0px;margin-bottom:0px"><br></pre>//////////////////////////////////////////////////////////
<pre style="margin-top:0px;margin-bottom:0px"><br></pre></pre><div>I am sure the range of velocity is -7.0 to 7.0 .But when I load the plugin into paraview and read a sample file,the information panel shows very large range.</div>

<div><img src="cid:ii_1411a445d6fcf13b" alt="ÄÚǶͼƬ 1"><br></div><div>I can hardly understand the result.</div><span class="HOEnZb"><font color="#888888">-- <br><font face="arial, helvetica, sans-serif" size="6" color="#33ff33"><a href="mailto:pangqingyuan1991@gmail.com" target="_blank">ÅÓÇìÔ´<span></span><span></span></a></font>
</font></span></div></div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>