[Paraview] Visualizing a .csv

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Fri Nov 19 10:06:43 EST 2010


Your csv has all numerical values in quotes ("). That's resulting in
treating those values are strings instead of numbers. Remove the
quotes from all numerical values and it should load it in correctly.
Also there are "," in  place of decimal points. You may want to fix
that too.

Utkarsh

On Fri, Nov 19, 2010 at 10:04 AM, mariagrazia.madaschi at libero.it
<mariagrazia.madaschi at libero.it> wrote:
> This is my .csv
>
>
>
>>----Messaggio originale----
>>Da: utkarsh.ayachit at kitware.com
>>Data: 19/11/2010 15.58
>>A: "mariagrazia.madaschi at libero.it"<mariagrazia.madaschi at libero.it>
>>Cc: <paraview at paraview.org>
>>Ogg: Re: Re: [Paraview] Visualizing a .csv
>>
>>Could you attach a sample csv?
>>
>>Utkarsh
>>
>>On Fri, Nov 19, 2010 at 9:53 AM, mariagrazia.madaschi at libero.it
>><mariagrazia.madaschi at libero.it> wrote:
>>>
>>> I did what tou said me, but Paraview gives this error:
>>>
>>> ERROR: In /home/kitware/ParaView-3-8/ParaView-3.8.1
>>> /src/VTK/Graphics/vtkTableToPolyData.cxx, line 110
>>> vtkTableToPolyData (0x977f108): Failed to locate  the columns to use for
> the
>>> point coordinates
>>>
>>>
>>> ERROR: In /home/kitware/ParaView-3-8/ParaView-3.8.1
>>> /src/VTK/Filtering/vtkExecutive.cxx, line 756
>>> vtkCompositeDataPipeline (0xa14be18): Algorithm vtkTableToPolyData
> (0x977f108)
>>> returned failure for request: vtkInformation (0x9fcf020)
>>>  Debug: Off
>>>  Modified Time: 766708
>>>  Reference Count: 1
>>>  Registered Events: (none)
>>>  Request: REQUEST_DATA
>>>  ALGORITHM_AFTER_FORWARD: 1
>>>  FORWARD_DIRECTION: 0
>>>  FROM_OUTPUT_PORT: 0
>>>
>>>
>>> What could be the problem?
>>>
>>> Maybe it's immediate but I'm not experienced in Paraview.
>>>
>>> Thanks.
>>>
>>>
>>>>----Messaggio originale----
>>>>Da: utkarsh.ayachit at kitware.com
>>>>Data: 19/11/2010 14.37
>>>>A: "mariagrazia.madaschi at libero.it"<mariagrazia.madaschi at libero.it>
>>>>Cc: <paraview at paraview.org>
>>>>Ogg: Re: [Paraview] Visualizing a .csv
>>>>
>>>>Try applying the "Table to Points" filter. There you can choose the 3
>>>>arrays that constitute the point coordinates. After which, you can
>>>>choose to color the points using "id" either on  the Display tab or
>>>>using the color-toolbar.
>>>>
>>>>Utkarsh
>>>>
>>>>On Fri, Nov 19, 2010 at 4:57 AM, mariagrazia.madaschi at libero.it
>>>><mariagrazia.madaschi at libero.it> wrote:
>>>>> I have an excel file which contains x,y,z (points coordinates) and an id
> (i
>>> use
>>>>> it to group coordinates according to specific feature).
>>>>> I want to visualize points with Paraview. I tried to save my file in .csv
>>>>> format and i opened. What i see is a table with 4 columns (x, y, z,id).
> Is
>>>>> there any way to visualize these points?
>>>>> And....is there any way to color points, with the same id, with the same
>>>>> color?
>>>>>
>>>>> Bye
>>>>> _______________________________________________
>>>>> 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