[Paraview] Python Annotations

Quentin d'Avout quentin at arrivo-loop.com
Thu Nov 9 21:24:55 EST 2017


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-bounces at paraview.org] *On Behalf Of *Dennis
Conklin
*Sent:* Wednesday, November 8, 2017 10:23 AM
*To:* Paraview (paraview at paraview.org) <paraview at 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 at 01D35985.135BEBB0]



Dennis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20171109/1267485e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 31028 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20171109/1267485e/attachment.png>


More information about the ParaView mailing list