[Paraview] please help do constuct 3d surface chart from csv file

Eric E. Monson emonson at cs.duke.edu
Thu Apr 22 11:33:49 EDT 2010


Hey Chris,

1.) That is the point of the transformation which is in the Display tab -- it doesn't actually transform the data, only the display (the Transform Filter actually changes the data). So, with that Display transform the visual representation looks different but the data values are still the original.

2.) That seems strange. I thought it should use all points, but I'm definitely not an expert on Delaunay2D. How does it seem to determine "major points"?

3.) Sorry it's not working out for you. ParaView is definitely not always the most intuitive tool for beginners, but feel free to pass things by us in the future if you want to try again.

Good luck,
-Eric


On Apr 22, 2010, at 11:20 AM, Chris Botha wrote:

> Eric
> 
> Please know that I really appreciate the time you took to answer my
> query. I have done what you have suggested - and it brought me closer
> to what I want. Unfortunately it still does not do exactly what I
> want. I am at the point of accepting that Paraview is not what I need
> because:
> 1) When I transform the data so that the scales of the surface chart
> appears in proportion the actual data is transformed - I want to
> adjust the scales of the axis only - not the data because when I
> select the data I then have to divide the result again by the scale
> factor to know whet the actual values are.
> 2) It seem the Delaunay 2d filter seems to decrease the resolution of
> my data by drawing triangles only between major points. The ideal for
> me would be to not have any data manipulation at all - Paraview seems
> to be too powerful.
> 3) Learning how to do things is not easy - I would prefer a chat board
> / bulletin board over an email list - to see if other people has tried
> the same as what I am trying. There is nothing new under the sun.
> 
> Regards
> 
> Chris
> 
> 
> On Wed, Apr 21, 2010 at 3:06 PM, Eric E. Monson <emonson at cs.duke.edu> wrote:
>> Hey Chris,
>> 
>> Yes, you are on the right track with that mailing list entry. If you want to actually transform the values of the points, just go to Filters->Transform and then enter a factor between 0 and 1 in the appropriate Scale box (e.g. 0.2 in the third Scale column will multiply the Z values by 0.2). If you want to keep the original data values, but just scale the display, then go to the Display tab in the Object Inspector and all the way down at the bottom is a Transformation section where you can do the same sort of Scale entry.
>> 
>> ParaView doesn't support hovering labels right now, but you can tell it to label selected points. Use one of the point selection tools to select some points on your grid. Then, go to View->Selection Inspector. At the bottom of that panel there is a Display Style section. If you hit the Point Label tab and check the Visible box you'll see PointID and other attributes in the Label Mode combo-box. If your point coordinates are not there, then you can apply the Calculator filter to your data: Attribute Mode: Point Data, Result Array Name: Coordinates (or something like that), Equation (next box down): coords (which you can get by pulling down on the Vectors button on the lower right. After you hit apply the coordinates of your points will be an explicit vector attribute of your point data, and this new vector should show up in the Label Mode combo box for Point Label.
>> 
>> Talk to you later,
>> -Eric
>> 
>> ------------------------------------------------------
>> Eric E Monson
>> Duke Visualization Technology Group
>> 
>> 
>> On Apr 21, 2010, at 5:27 AM, Chris Botha wrote:
>> 
>>> Utkarsh
>>> 
>>> I am a new user to Paraview - and therefore do not know what to do
>>> when you say to apply the transform filter. I therefore searched the
>>> web for more information on how to apply the transform filter in
>>> Paraview. The best I could find was here :
>>> http://www.paraview.org/pipermail/paraview/2009-March/011560.html  - I
>>> was able to use that answer to apply the scale that I need.
>>> 
>>> I have also applied the Delaunay filter - and now have a 3d surface
>>> chart that I wanted!
>>> 
>>> What do I need to do to see the coordinates of the cursor as I move it
>>> over the surface chart? I need to see the values of the local maximum.
>>> 
>>> Regards
>>> 
>>> Chris
>>> 
>>> 
>>> On Mon, Apr 19, 2010 at 4:32 PM, Utkarsh Ayachit
>>> <utkarsh.ayachit at kitware.com> wrote:
>>>> If the issue is indeed scale, then you can apply the Transform filter
>>>> to scale the points.
>>>> 
>>>> Utkarsh
>>>> 
>>>> On Sun, Apr 18, 2010 at 2:37 PM, Chris Botha <solidstones at gmail.com> wrote:
>>>>> Utkarsh/Berk
>>>>> 
>>>>> Thank you both for taking the time to reply to my question.
>>>>> 
>>>>> I have done what you have suggested - and made some progress. I still
>>>>> however do not see what I expect.
>>>>> 
>>>>> After making sure that the "table to points" is selected I do see a 3D
>>>>> view of something - the points are stretched along the Z axis - very
>>>>> close to the axis - and not spread out as I would expect. When I apply
>>>>> Delauny 2d it of course draws lines between the stretched out points
>>>>> along the Z axis.
>>>>> 
>>>>> I have attached the following for you to see what I mean:
>>>>> paraviewdots.png - screen shot of dots along the Z axis
>>>>> surface3d.png - what I would like to see - made with another program
>>>>> off the same data.
>>>>> 
>>>>> I have also attached the file that contains the data that I am trying
>>>>> to see as a 3D surface chart - the file is four.csv. In the
>>>>> paraviewdots file I have selected :
>>>>> x = posdista
>>>>> y = negdista
>>>>> z = fitness
>>>>> 
>>>>> I assume that the problem has to do with scale somehow - and have
>>>>> tried to find the correct settings to change - but have been unable to
>>>>> and would therefore greatly appreciate your help
>>>>> 
>>>>> Regards
>>>>> 
>>>>> 
>>>>> 
>>>>> On Sat, Apr 17, 2010 at 7:08 PM, Berk Geveci <berk.geveci at kitware.com> wrote:
>>>>>> After that, you'll probably need delaunay 2d.
>>>>>> 
>>>>>> -berk
>>>>>> 
>>>>>> On Sat, Apr 17, 2010 at 3:56 AM, Utkarsh Ayachit
>>>>>> <utkarsh.ayachit at kitware.com> wrote:
>>>>>>> Once you split and create the 3D view, click on the eyeball next to
>>>>>>> the "Table To Points" filter to turn visibility of the data generated
>>>>>>> by that filter in the 3D view to ON.
>>>>>>> 
>>>>>>> Utkarsh
>>>>>>> 
>>>>>>> On Fri, Apr 16, 2010 at 10:27 AM, Chris Botha <solidstones at gmail.com> wrote:
>>>>>>>> Hi
>>>>>>>> 
>>>>>>>> I want to use Paraview to construct a 3d surface chart from data that
>>>>>>>> I have in a csv file.
>>>>>>>> 
>>>>>>>> The data does not need any further manipulation. The file consists of
>>>>>>>> 3 columns representing the x,y,z values of the points that I want to
>>>>>>>> plot
>>>>>>>> 
>>>>>>>> I have been able to open the file in Paraview  - and applied the
>>>>>>>> "table to points" filter. I can see the data in the spreadsheet view
>>>>>>>> but do not know how to create a 3d view. When I split the window and
>>>>>>>> click the 3d view option nothing is displayed.
>>>>>>>> 
>>>>>>>> Regards
>>>>>>>> 
>>>>>>>> Chris
>>>>>>>> _______________________________________________
>>>>>>>> Powered by www.kitware.com
>>>>>>>> 
>>>>>>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>>>>>>> 
>>>>>>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>>>>>>>> 
>>>>>>>> Follow this link to subscribe/unsubscribe:
>>>>>>>> http://www.paraview.org/mailman/listinfo/paraview
>>>>>>>> 
>>>>>>> _______________________________________________
>>>>>>> Powered by www.kitware.com
>>>>>>> 
>>>>>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>>>>>> 
>>>>>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>>>>>>> 
>>>>>>> Follow this link to subscribe/unsubscribe:
>>>>>>> http://www.paraview.org/mailman/listinfo/paraview
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> _______________________________________________
>>> Powered by www.kitware.com
>>> 
>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>> 
>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>>> 
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.paraview.org/mailman/listinfo/paraview
>> 
>> 



More information about the ParaView mailing list