<div dir="ltr">I am reading a structured orthogonal grid and a variable with the following XDMF file:<div><br></div><div><div>&lt;?xml version=&quot;1.0&quot; ?&gt;</div><div>&lt;!DOCTYPE Xdmf SYSTEM &quot;Xdmf.dtd&quot; []&gt;</div>
<div>&lt;Xdmf Version=&quot;2.0&quot;&gt;</div><div> &lt;Domain&gt;</div><div>   &lt;Grid Name=&quot;mesh1&quot; GridType=&quot;Uniform&quot;&gt;</div><div>     &lt;Topology TopologyType=&quot;3DRectMesh&quot; NumberOfElements=&quot;1402 452 306&quot;/&gt;</div>
<div>     &lt;Geometry GeometryType=&quot;VXVYVZ&quot;&gt;</div><div>       &lt;DataItem Dimensions=&quot;306&quot; NumberType=&quot;Float&quot; Precision=&quot;4&quot; Format=&quot;HDF&quot;&gt;</div><div>        ../VPfield_files/grid3dc_VP.h5sp:/X</div>
<div>       &lt;/DataItem&gt;</div><div>       &lt;DataItem Dimensions=&quot;452&quot; NumberType=&quot;Float&quot; Precision=&quot;4&quot; Format=&quot;HDF&quot;&gt;</div><div>        ../VPfield_files/grid3dc_VP.h5sp:/Y</div>
<div>       &lt;/DataItem&gt;</div><div>       &lt;DataItem Dimensions=&quot;1402&quot; NumberType=&quot;Float&quot; Precision=&quot;4&quot; Format=&quot;HDF&quot;&gt;</div><div>        ../VPfield_files/grid3dc_VP.h5sp:/Z</div>
<div>       &lt;/DataItem&gt;</div><div>     &lt;/Geometry&gt;</div><div>     &lt;Attribute Name=&quot;Tuu&quot; AttributeType=&quot;Scalar&quot; Center=&quot;Node&quot;&gt;</div><div>       &lt;DataItem Dimensions=&quot;1402 452 306&quot; NumberType=&quot;Float&quot; Precision=&quot;4&quot; Format=&quot;HDF&quot;&gt;</div>
<div>        ../Tuu_tmavg.h5sp:/var3d</div><div>       &lt;/DataItem&gt;</div><div>     &lt;/Attribute&gt;</div><div>   &lt;/Grid&gt;</div><div> &lt;/Domain&gt;</div><div>&lt;/Xdmf&gt;</div></div><div><br></div><div><br></div>
<div style>How can I make a XY plot of the scalar variable passing through a line or by limiting the indices of the variables (i.e. i=1-NX, j=3, k=4) ? Is there a command similar to slice but for a line?</div><div style><br>
</div><div style>Thank you,</div><div style><br></div><div style>Nikos</div></div>