Re: [Paraview] Python Annotations
Thanks Dennis. That works great. Any chance there is a list of the useable variables? aAlso, Any good resource for special characters that we can insert in the string (e.g. infiniti sign)? Quentin *From:* ParaView [mailto:paraview-boun...@paraview.org] *On Behalf Of *Dennis Conklin *Sent:* Wednesday, November 8, 2017 10:23 AM *To:* Paraview (paraview@paraview.org) <paraview@paraview.org> *Subject:* Re: [Paraview] Python Annotations Quentin, Try this: - Example: Plot Total Vertical force (REACTZ_901+REACTZ_902) in animation - Form is “Label %g” %(expression) - Label is:“Vertical Force: %g” where %g is format and will be replaced by value of expression - Expression is: %(REACTZ_901[t_index]+REACTZ_902[t_index]) where t_index is for current time only - See next slide [image: cid:image001.png@01D35985.135BEBB0] Dennis ___ 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
Re: [Paraview] Python Annotations
Quentin, Try this: * Example: Plot Total Vertical force (REACTZ_901+REACTZ_902) in animation * Form is "Label %g" %(expression) * Label is:"Vertical Force: %g" where %g is format and will be replaced by value of expression * Expression is: %(REACTZ_901[t_index]+REACTZ_902[t_index]) where t_index is for current time only * See next slide [cid:image001.png@01D35894.BAC3E200] Dennis ___ 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
[Paraview] Python Annotations
Hi All, I’d like to insert the freestream velocity stamp in a Python annotation on one of the animations I’m rendering (transient analysis – U varies throughout the run). I can’t find help on the syntax, specifically on how to insert a variable (U at a point) in the middle of a string of text, and the syntax for special characters. Thanks for your help, Quentin ___ 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