<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Thanks a lot for the prompt help !<br>
I'll have a look to this suggestions !<br>
Best,<br>
Gergely<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF474261"><font face="Tahoma" color="#000000" size="2"><b>From:</b> David Doria [daviddoria@gmail.com]<br>
<b>Sent:</b> 11 December 2012 22:41<br>
<b>To:</b> Gergely Debreczeni<br>
<b>Cc:</b> vtkusers@vtk.org<br>
<b>Subject:</b> Re: [vtkusers] visualizing 2d surface as a collection of 1d graph<br>
</font><br>
</div>
<div></div>
<div>On Tue, Dec 11, 2012 at 4:34 PM, Gergely Debreczeni <span dir="ltr">&lt;<a href="mailto:Gergely.Debreczeni@cern.ch" target="_blank">Gergely.Debreczeni@cern.ch</a>&gt;</span> wrote:<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
Hello,<br>
<br>
I have a grid as a result of simulation x,y,z.<br>
<br>
I want to visualize it in a way that for every y value a<br>
solid line as a function of of x,z is plotted.<br>
<br>
With other words I'd like to visualize the x,y,z surface<br>
but interpolating only in the x direction, so that graphs<br>
belonging to different y value can be distinguished from<br>
each other despite being close.<br>
<br>
What is the best VYK object and visualisation method<br>
to use for the purpose ? DensArray ? PointCloud ?<br>
<br>
thanks a lot for your help in advance,<br>
Gergely<br>
</blockquote>
<div><br>
</div>
I would loop over the rows of your grid and create polylines with the points being your (x,z) values and the y coordinate being a counter (which of course you should scale so the spacing makes sense relative to the magnitude of your data). You can create the
 polylines like this:&nbsp;<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/PolyLine" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/PolyLine</a>). You could even do something like alternate the color of every other polyline
 so they are easier to distinguish.<br clear="all">
<div><br>
</div>
<div>Hope that helps,</div>
<div><br>
David&nbsp;</div>
</div>
</div>
</div>
</div>
</body>
</html>