<div dir="ltr">Thanks David, will have alook at this.<br><br>Jothy<br><br><div class="gmail_quote">On Tue, Jun 21, 2011 at 12:30 PM, David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On Tue, Jun 21, 2011 at 7:23 AM, Jothy &lt;<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>&gt; wrote:<br>

&gt; Hi all,<br>
&gt;<br>
&gt; I would like to create a surface plot of 3 variable (x,y,z). There are<br>
&gt; functions to do this in MATLAB, but I wonder is there any classes in VTK to<br>
&gt; do that?<br>
&gt;<br>
&gt; Thanks<br>
&gt;<br>
&gt; Jothy<br>
<br>
</div></div>If you have f(x,y) = z, (which I think is what surf handles) you can<br>
use this technique:<br>
<a href="http://vtk.org/Wiki/VTK/Examples/Cxx/Meshes/ElevationFilter" target="_blank">http://vtk.org/Wiki/VTK/Examples/Cxx/Meshes/ElevationFilter</a><br>
<font color="#888888"><br>
David<br>
</font></blockquote></div><br></div>