hi rafael; <br>thank you very much for helping me...the thing is that i still have my data in the form lets say something like this...<br>x = arange(0,20)<br>y = arange(0,20)<br>z = arange(0,1,0.05)<br>this are variables that i got in a python enthoght edition(on windows) file<br>and then i want to plot this points and generate a surface through them...<br><br>if i have to create a file and read them from there how do i do that...<br>sorry if my question are....i am used to matlab and i am new at this besides i just <br>wanna generate only surfaces and no more..<br>thanks a lot for you help..thank you<br><br><b><i>rafael possani &lt;gentefinabr@hotmail.com&gt;</i></b> escribió:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">   <style> .hmmessage P { margin:0px; padding:0px } body.hmmessage { FONT-SIZE: 10pt; FONT-FAMILY:Tahoma } </style> <div style="text-align: left;">&nbsp;&nbsp; Hi Yadin,&nbsp; I suggest y
 to use vtkGaussianSplatter, thats a fragment code:<br><br>&nbsp;&nbsp;&nbsp; vtkUnstructuredGrid grid= new vtkUnstructuredGrid();<br>&nbsp;&nbsp;&nbsp; inferno.SetPoints(points);<br>&nbsp;&nbsp;&nbsp; inferno.SetCells(1,polys);<br>&nbsp;&nbsp;&nbsp; inferno.GetPointData().SetScalars(scalars);&nbsp;&nbsp;  <br><br>&nbsp;&nbsp;&nbsp; vtkGaussianSplatter popSplatter = new vtkGaussianSplatter();<br>&nbsp;&nbsp;&nbsp; popSplatter.SetInput(grid);<br>&nbsp;&nbsp;&nbsp; popSplatter.SetSampleDimensions(50, 50, 50);<br>&nbsp;&nbsp;&nbsp; popSplatter.SetRadius(0.05);<br>&nbsp;&nbsp;&nbsp; popSplatter.ScalarWarpingOff();<br>&nbsp;&nbsp;&nbsp; popSplatter.Update();<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; vtkContourFilter popSurface = new vtkContourFilter();<br>&nbsp;&nbsp;&nbsp; popSurface.SetInputConnection(popSplatter.GetOutputPort());<br>&nbsp;&nbsp;&nbsp; popSurface.SetValue(0, 0.01);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br><br>&nbsp;&nbsp;&nbsp; vtkPolyDataMapper
 popMapper = new vtkPolyDataMapper();<br>&nbsp;&nbsp;&nbsp; popMapper.SetInputConnection(popSurface.GetOutputPort());<br>&nbsp; &nbsp; popMapper.ScalarVisibilityOn();<br>&nbsp; &nbsp; popMapper.SetScalarRange(grid.GetScalarRange());<br>&nbsp;&nbsp;&nbsp; popMapper.ImmediateModeRenderingOn();<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; vtkActor popActor = new vtkActor();<br>&nbsp;&nbsp;&nbsp; popActor.SetMapper(popMapper);<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;  &nbsp;&nbsp;  <br></div>&nbsp;&nbsp;&nbsp; cya.<br><br><br><blockquote><hr id="EC_stopSpelling">Date: Fri, 31 Aug 2007 10:24:26 -0500<br>From: conra2004@yahoo.com<br>To: vtkusers@vtk.org<br>Subject: [vtkusers] please help on ploting surfaces vith VTK<br><br><div>hi!</div>  <div>how do you plot surfaces in VTK?</div>  <div>I know how to do it with matlab using surf or meshgrid....</div>  <div>what is the command to plot surcaes in VTK?</div>  <div>I just one to use it for ploting some points(x,y,z) ...generate a
 surface&nbsp;through jhe points and no more</div>  <div>thanks </div> __________________________________________________<br>Correo Yahoo!<br>Espacio para todos tus mensajes, antivirus y antispam ¡gratis! <br>Regístrate ya - http://correo.espanol.yahoo.com/ <br></blockquote><br><hr>Receba GRÁTIS as mensagens do Messenger no seu celular quando você estiver offline. Conheça  o MSN Mobile! <a href="http://mobile.live.com/signup/signup2.aspx?lc=pt-br" target="_new">Cadastre-se já!</a>_______________________________________________<br>This is the private VTK discussion list. <br>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>Follow this link to subscribe/unsubscribe:<br>http://www.vtk.org/mailman/listinfo/vtkusers<br></blockquote><br><p>&#32;__________________________________________________<br>Correo Yahoo!<br>Espacio para todos tus mensajes, antivirus y antispam ¡gratis! <br>Regístrate ya - http://correo.espanol.yahoo.com/