[Paraview] Visualizing histogram

Mark Richardson mark at elemtech.com
Tue Feb 10 12:27:54 EST 2009


The new charts in vtk/guisupport/qt/chart have support for strings and numbers on the axes. The old charts only support numbers. We're currently integrating the new charts into paraview. Then, you'll be able to view the vtkTable.

The chart views in vtk/guisupport/qt can be displayed using python. There are some tests you can use as an example (I can't remember where they are at the moment). I'm not sure how well that will work in paraview though. It may have to be done stand-alone.

Mark Richardson

----- Original Message -----
From: "Jacques Papper" <jpapper at ara.co.uk>
To: "John Biddiscombe" <biddisco at cscs.ch>, "paraview" <paraview at paraview.org>
Sent: Tuesday, February 10, 2009 9:30:29 AM GMT -07:00 US/Canada Mountain
Subject: [Paraview] Visualizing histogram

John, 

Thanks a lot for your help. I have re-used part of your code to create a
Multi-block to table filter. (Basically exactly the same as your
probeIntegration but without the integration step).
The problem I have now is in creating a histogram which has the Block Id
(String - first column of data in my vtkTable) on the x axis and the data on
the y axis. 
It seems that the histogram plotting capability in ParaView can not handle
String Ids instead of numbers.

- Has anyone implemented such capability ? 

- What is the best way to access the vtkTable object through Python directly
(to then possibly use some python plotting facility)?

- Is it possible to create an image (Jpg, png etc..) from Python of an XY
plot or a Bar Chart ?

Jacques PAPPER
Applied CFD Team Leader
Tel: +44 (0) 1234 324677


---------------------------
This email contains information that is private and confidential and is intended only for the addressee.  If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other than the recipient, for system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 196351245


_______________________________________________
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