[Paraview] [EXTERNAL] text labels with python scripts

Scott, W Alan wascott at sandia.gov
Tue Mar 26 15:56:39 EDT 2013


Just trying to qualify this bug better - 
What operating system are you on?  What version of ParaView?

I just tried with Windows, 3.98.1, gui based ParaView, and your example worked just fine.

One idea - try adding a space after the h.

Alan

-----Original Message-----
From: paraview-bounces at paraview.org [mailto:paraview-bounces at paraview.org] On Behalf Of Dr. Olaf Ippisch
Sent: Tuesday, March 26, 2013 1:00 PM
To: ParaView
Subject: [EXTERNAL] [Paraview] text labels with python scripts

Dear All,

I have a problem with adding text to an image using pvpython.
A minimal program to reproduce the problem is:

Text(Text="%d h" % 196)
Show()
Render()

If I run this program the h at the end of the last part of the "h" is cut off.

Any idea how to size the Text field properly?

Best regards,
Olaf

--
Dr. Olaf Ippisch
Universität Heidelberg
Interdisziplinäres Zentrum für Wissenschaftliches Rechnen Im Neuenheimer Feld 368, Raum 4.24
Tel: 06221/548252   Fax: 06221/548884
Mail: Im Neuenheimer Feld 368, 69120 Heidelberg
e-mail: <olaf.ippisch at iwr.uni-heidelberg.de>
_______________________________________________
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview



More information about the ParaView mailing list