[Paraview] Help with producing a X Y plot of a scalar
Nikolaos Beratlis
nikos.beratlis at gmail.com
Wed Mar 4 18:57:58 EST 2015
Hi,
I have a cartesian grid and two scalars U, W that I read into paraview as
follows:
<?xml version="1.0" ?>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
<Xdmf xmlns:xi="http://www.w3.org/2003/XInclude" Version="2.2">
<Information Name="MetaData" Value="ID-23454"/>
<Domain>
<Grid Name="Eulerian Grid" GridType="Uniform">
<Topology TopologyType="3DRectMesh" NumberOfElements=" 202 100
100"/>
<Geometry GeometryType="VXVYVZ">
<DataItem Dimensions=" 100" NumberType="Float" Precision="4"
Format="HDF">
../grid3dc_vxvyvz_VP.h5sp:/X
</DataItem>
<DataItem Dimensions=" 100" NumberType="Float" Precision="4"
Format="HDF">
../grid3dc_vxvyvz_VP.h5sp:/Y
</DataItem>
<DataItem Dimensions=" 202" NumberType="Float" Precision="4"
Format="HDF">
../grid3dc_vxvyvz_VP.h5sp:/Z
</DataItem>
</Geometry>
<Attribute Name="U" AttributeType="Scalar" Center="Node">
<DataItem Dimensions=" 202 100 100" NumberType="Float"
Precision="4" Format="HDF">
../oy_tmavg_cyl2car.h5sp:/var3d
</DataItem>
</Attribute>
<Attribute Name="W" AttributeType="Scalar" Center="Node">
<DataItem Dimensions=" 202 100 100" NumberType="Float"
Precision="4" Format="HDF">
../oy_tmavg_cyl2car.h5sp:/var3d
</DataItem>
</Attribute>
</Grid>
</Domain>
</Xdmf>
I then multiply U*W using the calculator to get a new variable UW. What I
want to do is create a scatter plot of the variable UW at a particular a
slice in the domain where in the X-axis I have U variable and in the Y-axis
I have W variable. The end result would like this
Paraview has a function called scatter plot but it only allows to specify
one axis, the X-axis data. How can I specify the Y-axis to be a different
variable?
Regards,
Nikos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150304/784cffa4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scatter plot.png
Type: image/png
Size: 103198 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150304/784cffa4/attachment-0001.png>
More information about the ParaView
mailing list