<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hey Nima,<div><br></div><div>I don't know if this will be a useable solution for you, but based on your notes I tried generating a point cloud (centered on the origin, 100 points with radius 10) in ParaView, then using the calculator filter I generated a scalar value on each node which is the magnitude of the x, y, z coordinate vector: mag(coords). Instead of trying to sample the data points onto a regular grid, I used the Delaunay3D filter (with default parameters) to generate tetrahedra, which can be used for volume visualization, contouring, etc. Here is a screen shot of the point cloud colored by that vector magnitude (blue-white-red colormap), and six contours which have been clipped to show the insides.</div><div><br></div><div>Again, not sure if this is the type of solution you were looking for, but it interpolates the vector magnitude values and allows you to generate contours.</div><div><br></div><div>Talk to you later,</div><div>-Eric</div><div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>------------------------------------------------------</div><div>Eric E Monson</div><div>Duke Visualization Technology Group</div><div><br class="webkit-block-placeholder"></div></div></span><img height="461" width="480" apple-width="yes" apple-height="yes" src="cid:6B6DEAD2-DAF5-4B02-A587-669296E688B5@trinity.duke.edu"> </div><br><div><div>On Nov 28, 2009, at 3:25 PM, Nima Emadi wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Thanks a lot Sven,<br>I could generate vector plots. Still trying to find a way to do 3D contour plots for my scattered points. As you said I need to have a mesh and to interpolate my scalar value to nodes of that mesh. Does anyone have an idea to do that? <br> <br>Best,<br>Nima.<br><br><div class="gmail_quote">On Sat, Nov 28, 2009 at 1:07 PM, Sven Buijssen <span dir="ltr"><<a href="mailto:sven.buijssen@tu-dortmund.de">sven.buijssen@tu-dortmund.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Nima,<br> <br> Your first question has been discussed last month on this list, have a look at<br> <a href="http://markmail.org/message/36223zg4uleibiyj" target="_blank">http://markmail.org/message/36223zg4uleibiyj</a>. David found the time to put the<br> question in FAQ style into the ParaView wiki. So, you can also look at<br> <a href="http://www.paraview.org/Wiki/Display_points_and_normals_from_a_plain_text_%28x_y_z_nx_ny_nz%29_file" target="_blank">http://www.paraview.org/Wiki/Display_points_and_normals_from_a_plain_text_(x_y_z_nx_ny_nz)_file</a><br> <br> I haven't faced the problem yet you describe in your second question. I'm<br> guessing you'll have to import your scattered data into ParaView (e.g. as CSV<br> data) and somehow come up with a regular grid in ParaView. This might be<br> possible using a Programmable Source or Sources - Data Object Generator, but I'm<br> not sure of that. Maybe someone else can point this out. Once you have a regular<br> grid, use the Resample with Dataset filter to interpolate your point data set(s)<br> to the regular grid and apply the Contour filter.<br> <br> Hope this helps.<br> <br> Sven<br> <br> <br> Nima Emadi wrote, On 11/28/2009 12:01 PM:<br> <div><div></div><div class="h5">> Dear all,<br> > I would like to generate 3D vector plots from a set of scattered data in<br> > space (an ASCII file with x,y,z,u,v,w). I guess this should be rather<br> > simple, but later on I want to generate 3D contour plots out of my data<br> > (e.g. having contours based on the value of u^2+v^2+w^2 at each point).<br> > Since I just have the value on scattered points in space, making those<br> > contours will probably require extrapolation of my data to nodes of a<br> > (regular) mesh. My question is that, how can I do those plots? with<br> > which format should I import my data? Is paraview able to make contour<br> > plots with scattered data points in 3D?<br> ><br> > Thanks,<br> > Nima<br> ><br> ><br> </div></div>> ------------------------------------------------------------------------<br> ><br> > _______________________________________________<br> > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br> ><br> > Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br> ><br> > Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br> ><br> > Follow this link to subscribe/unsubscribe:<br> > <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br> <br> </blockquote></div><br><img style="border: medium none ; position: absolute; z-index: 2147483647; opacity: 0.6; display: none;" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAADsElEQVR4nK2VTW9VVRSGn33OPgWpYLARbKWhQlCHTogoSkjEkQwclEQcNJEwlfgD/AM6NBo1xjhx5LyJ0cYEDHGkJqhtBGKUpm3SFii3vb2956wPB/t+9raEgSs52fuus89613rftdcNH8/c9q9++oe/Vzb5P+3McyNcfm2CcPj9af9w6gwjTwzvethx3Bx3x8xwd1wNM8dMcTNUHTfFLPnX6nVmZpeIYwf3cWD/PhbrvlPkblAzVFurKS6GmmGqqComaS+qmBoTI0Ncu3mXuGvWnrJ+ZSxweDgnkHf8ndVTdbiT3M7cQp2Z31dRTecHAfqydp4ejhwazh6Zezfnu98E1WIQwB3crEuJ2Y45PBTAQUVR9X4At66AppoEVO1Q8sgAOKJJjw6Am6OquDmvHskZ3R87gW+vlHz98zpmiqphkkRVbQtsfPTOC30lJKFbFTgp83bWh7Zx/uX1B6w3hI3NkkZTqEpBRDBRzG2AQHcwcYwEkOGkTERREbLQ/8HxJwuW7zdYrzfZ2iopy4qqEspKaDYravVm33k1R91Q69FA1VBRzFIVvXbx5AgXT44A8MWP81yfu0utIR2aVK3vfCnGrcUNxp8a7gKYKiLCvY2SUvo/aNtnM3e49ucK9S3p0aDdaT0UAVsKi2tVi6IWwNL9JvdqTdihaz79/l+u/rHMxmaJVMLkS2OoKKLWacdeE3IsSxctc2D5Qcl6vUlVVgNt+fkPPcFFmTw1xruvT7SCd7nuVhDQvECzJH90h0azRKoKFRkAmP5lKTWAGRdefoZL554FQNUxB92WvYeA5UN4PtSqwB2phKqsqMpBgAunRhFR3j49zuU3jnX8k6fHEQKXzh1jbmGDuYU6s4t1rt6socUeLLZHhYO2AHSHmzt19ihTZ48O8Hzl/AmunD/BjTvrvPfNX3hWsNpwJCvwYm+ngug4UilSCSq6k8YPtxDwfA+WRawIWFbgscDiULcCEaWqBFOlrLazurupOSHLqGnEKJAY8TwBEHumqUirAjNm52vEPPRV4p01XXMPAQhUBjcWm9QZwijwokgAeYHlHYA06KR1cT6ZvoV56pDUJQEjw0KeaMgj1hPEY4vz2A4eW0/e1qA7KtQdsxTYAG0H3iG4xyK1Y+xm7XmEPOJZDiENzLi2WZHngeOjj2Pe+sMg4GRYyLAsx7ME4FnsyTD9pr0PEc8zPGRAwKXBkYOPEd96cZRvf11g9MDe7e3R4Z4Q+vyEnn3P4t0XzK/W+ODN5/kPfRLewAJVEQ0AAAAASUVORK5CYII%3D" id="myFxSearchImg" height="24" width="24"> _______________________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br></blockquote></div><br></div></body></html>