[Paraview] Plot 3D Function names

Berk Geveci berk.geveci at kitware.com
Fri Apr 3 13:50:01 EDT 2015


Unfortunately, there is not a super easy way to rename an array. You have
to use the Programmable Filter with something like this:

from vtk.numpy_interface import dataset_adapter as dsa
itr = dsa.MultiCompositeDataIterator([inputs[0], output])
for inp, opt in itr:
    opt.PointData.append(inp.PointData['function1'], "my function")

Best,
-berk



On Thu, Apr 2, 2015 at 12:21 PM, Robertson, Andrew <
andrew.robertson at orbitalatk.com> wrote:

>  Folks,
>
> 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….
>
> I get a lot of data in plot3D format.
>
> The data in question is in the “function” file
>
> Paraview simply sees these as function1, function2 etc
>
> Is there someplace I can actually specify text for those?
>
> Thanks
>
> -Andy
>
>
>
>
>
> Andrew Robertson P.E.
>
> CFD Analyst
>
>
>
> GASL Operations
>
> Tactical Propulsion and Controls
>
> ATK
>
> 77 Raynor Avenue
>
> Ronkokoma NY 11779
>
>
>
> Phone:  631-676-8955 <631-737-6100%20Ext%20190>  <- *NOTE NEW Number*
>
> Fax:  631-588-7023
>
> www.atk.com
>
>
>
>  !! Knowledge and Thoroughness Baby !!
>
>        Happiness is conserving mass
>
>
>
> ------------------------------
> 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.
> ********** **********
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150403/0532d386/attachment.html>


More information about the ParaView mailing list