Hi,

I'm just taking first steps with ParaView's Python interface and
figured out so far that

================ *snip* ================
exodusReader = ExodusIIReader( FileName="solution.e" )
Show( exodusReader )
Render()
================ *snap* ================

would plot the mesh that is stored in the ExodusII file solution.e,
and that can play around with GetActiveView() to adjust camera angles
and such.

What I haven't found out though is how to plot actual point data. I get


>>> exodusReader.PointData[:]
[Array: GlobalNodeId, Array: PedigreeNodeId, Array: A, Array: psi,
Array: thickness]

and l'm looking at the 2-component array "psi". For example, I'd like
to do something like

    res =  sqrt( component1**2 + component2**2 )

and have res[:] rendered on the mesh with a certain color map.

Any hints?

Cheers,
Nico
_______________________________________________
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

Reply via email to