<div dir="ltr">Unfortunately, there is not a super easy way to rename an array. You have to use the Programmable Filter with something like this:<div><br></div><div><div>from vtk.numpy_interface import dataset_adapter as dsa</div><div>itr = dsa.MultiCompositeDataIterator([inputs[0], output])</div><div>for inp, opt in itr:</div><div> opt.PointData.append(inp.PointData['function1'], "my function")</div></div><div><br></div><div>Best,</div><div>-berk</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 2, 2015 at 12:21 PM, Robertson, Andrew <span dir="ltr"><<a href="mailto:andrew.robertson@orbitalatk.com" target="_blank">andrew.robertson@orbitalatk.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Folks,<u></u><u></u></p>
<p class="MsoNormal">I am new to paraview and while I am making some progress with the tool, I have not been able to figure out a few things….<u></u><u></u></p>
<p class="MsoNormal">I get a lot of data in plot3D format.<u></u><u></u></p>
<p class="MsoNormal">The data in question is in the “function” file<u></u><u></u></p>
<p class="MsoNormal">Paraview simply sees these as function1, function2 etc<u></u><u></u></p>
<p class="MsoNormal">Is there someplace I can actually specify text for those?<u></u><u></u></p>
<p class="MsoNormal">Thanks<u></u><u></u></p>
<p class="MsoNormal">-Andy<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border:none;border-bottom:solid windowtext 1.0pt;padding:0in 0in 1.0pt 0in">
<p class="MsoNormal" style="text-autospace:none;border:none;padding:0in">
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> </span><u></u><u></u></p>
</div>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">Andrew Robertson P.E.<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">CFD Analyst<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">GASL Operations<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">Tactical Propulsion and Controls<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">ATK<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">77 Raynor Avenue<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">Ronkokoma NY 11779<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">Phone:
<a href="tel:631-737-6100%20Ext%20190" target="_blank"><span style="color:blue">631-676-8955</span></a> <-
<b><u>NOTE NEW Number</u></b> <u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">Fax:
<a href="tel:631-588-7023" target="_blank"><span style="color:blue">631-588-7023</span></a>
<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><a href="http://www.atk.com/" target="_blank"><span style="color:blue">www.atk.com</span></a><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:"Arial","sans-serif""> !! Knowledge and Thoroughness Baby !!<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:"Arial","sans-serif""> Happiness is conserving mass<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div style="margin:0px"><br><div align="center" style="margin:0px;text-align:center"><span style="font-family:Calibri,sans-serif" size="2;"><span style="font-size:11pt"><hr width="100%" size="3" align="center" style="width:100%"></span></span><div style="margin:0px"><span size="2;"><span size="3;"><span style="font-family:'Times New Roman',serif;font-size:12pt">Notice: This e-mail is intended solely for use of the individual or entity to which it is addressed and may contain information that is proprietary, privileged and exempt from disclosure under applicable law. If the reader is not the intended recipient or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. This communication may also contain data subject to U.S. export laws. If so, that data subject to the International Traffic in Arms Regulation cannot be disseminated, distributed or copied to foreign nationals, residing in the U.S. or abroad, absent the express prior approval of the U.S. Department of State. If you have received this communication in error, please notify the sender by reply e-mail and destroy the e-mail message and any physical copies made of the communication. Thank you. <br></span></span></span>********** **********<br></div>
</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>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>