CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [General] Plotting a file with four colums (https://www.cfd-online.com/Forums/paraview/193838-plotting-file-four-colums.html)

August0 October 4, 2017 12:49

Plotting a file with four colums
 
1 Attachment(s)
I have a file made by Lumerical with four colums, the first three are the x,y,z position and the last is the electric field. How to do the plot of this file? Attachment 58808
Thanks for the support!

Swempa October 6, 2017 03:20

1 Attachment(s)
Quote:

Originally Posted by August0 (Post 666568)
I have a file made by Lumerical with four colums, the first three are the x,y,z position and the last is the electric field. How to do the plot of this file? Attachment 58808
Thanks for the support!

Hi Augusto,

I would first save the data in CSV format (Excel/Matlab).

With this format will you be able to open the data in Paraview as a table.

To make the desired plot of this electric field you can use the "TableToPoints" filter followed by a "Delaunay3d" filter.

I made just a quick attempt with your data, see attached image below.

Attachment 58842

Cheers


All times are GMT -4. The time now is 16:14.