<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi!<br><br>Basically I want to visualize a 1D-array in ParaView, specifying it with the Xdmf-Format. <br>My approach is to determine an X-Axis, specifying the x-Coordinates as 1.0, 2.0,.., then specifying the y-Coordinates as my 1D-array I want to visualize und using "Polyline" to "draw" a "plot". <br>My sample file doing this looks like the following:<br><br><?xml version="1.0" ?><br><!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []><br><Xdmf xmlns:xi="http://www.w3.org/2001/XInclude" Version="2.0"><br> <Domain><br> <Grid Name="Polyline" GridType="Uniform"><br> <Topology TopologyType="Polyline"<br> ><br> <DataItem Format="XML"<br> Dimensions="1 8"<br> NumberType="Float"><br> 0 1 2 3 4 5 6 7<br> </DataItem><br> </Topology><br> <Geometry Type="XYZ"><br> <DataItem Format="XML" Dimensions="4 2 3"><br> 0.0 0.0 0.0<br> 1.0 2.0 0.0<br> 2.0 3.0 0.0<br> 3.0 4.0 0.0<br><br> 4.0 3.0 0.0<br> 5.0 2.0 0.0<br> 6.0 3.0 0.0<br> 7.0 4.0 0.0<br><br> </DataItem><br> </Geometry><br> </Grid><br> </Domain><br></Xdmf><br><br><br>and it works well. <br>so, doing this with my data, I get the following Xdmf-File:<br><br><?xml version="1.0" ?><br><!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []><br><Xdmf xmlns:xi="http://www.w3.org/2001/XInclude" Version="2.0"><br><Domain><br><!-- Time: 0.29 --><br><br><br> <Grid Name="flko" GridType="Uniform"><br><br> <Topology TopologyType="Polyline"><br> <DataItem Format="XML" Dimensions="1 10" NumberType="Float"><br> 0 1 2 3 4 5 6 7 8 9<br> </DataItem><br> </Topology><br><br><!--Topology TopologyType="3DRectMesh" Dimensions=" 1 121 140"><br></Topology --><br><br><br> <Geometry Type="VXVYVZ"><br><DataStructure DataType="Float" Precision="4" Dimensions="170" Format="HDF"><br> s2d-more-sun-OT14.00000.h5:/flko/xCoordinates<br> </DataStructure><br><DataStructure DataType="Float" Precision="4" Dimensions="170" Format="HDF"><br> s2d-more-sun-OT14.00000.h5:/flko/yCoordinates<br> </DataStructure><br><DataStructure DataType="Float" Precision="4" Dimensions="170" Format="HDF"><br> s2d-more-sun-OT14.00000.h5:/flko/zCoordinates<br> </DataStructure><br><br> </Geometry><br><br><br></Grid><br></Domain><br></Xdmf><br><br><br>In this case, just for testing purposes, I just connected the points 0 - 9. If that worked, I would have tried connecting them all. <br><br>Well, I suspected that I got something wrong in the Geometry part, but trying it with another topology type (the commented one you see here), the grid is visualized well. trying it with the Polyline-Topology, I get a segmentation fault. <br><br> <br>Thanks for any piece of advice,<br>Natalie Happenhofer<br>                                            <br /><hr />¿Recibes muchos emails? <a href='http://mail.live.com/' target='_new'>Organízate con Hotmail. ¡Crea carpetas para todos tus correos!</a></body>
</html>