# no plot using .csv data

**URL:** https://discourse.paraview.org/t/no-plot-using-csv-data/7285
**Category:** ParaView Support
**Tags:** vtk
**Created:** [May 25, 2021, 3:36am UTC](https://discourse.paraview.org/t/no-plot-using-csv-data/7285 "2021-05-25T03:36:30Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![aquanaut](https://discourse.paraview.org/user_avatar/discourse.paraview.org/aquanaut/32/1302_2.png) [@aquanaut](https://discourse.paraview.org/u/aquanaut)
#### Post date: [May 25, 2021, 3:36am UTC](https://discourse.paraview.org/t/no-plot-using-csv-data/7285/1 "2021-05-25T03:36:30Z")

</div>

Why I can’t got the plot using this .csv data?

> **[Stress\_LAquila.csv](https://drive.google.com/file/d/14k2NcJSixSUPR9d5eBuBVwJJ_8uBWuD2/view?usp=sharing)**
>
> Google Drive file.

 ![Screenshot from 2021-05-24 17-38-07](https://discourse.paraview.org/uploads/default/original/2X/f/f19aa5c6a4741cf4829a888c140b481d18d8238d.png)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [May 31, 2021, 7:42am UTC](https://discourse.paraview.org/t/no-plot-using-csv-data/7285/2 "2021-05-31T07:42:21Z")

</div>

what did you try ?

---

<div class="post-metadata">

### Author: ![aquanaut](https://discourse.paraview.org/user_avatar/discourse.paraview.org/aquanaut/32/1302_2.png) [@aquanaut](https://discourse.paraview.org/u/aquanaut)
#### Post date: [June 6, 2021, 11:00am UTC](https://discourse.paraview.org/t/no-plot-using-csv-data/7285/3 "2021-06-06T11:00:39Z")

</div>

![image](https://discourse.paraview.org/uploads/default/original/2X/0/085ffb2a50edf7fbd3da5bc2929c0904b73705e0.png)  
Table to structed grid will turn out error.

---

<div class="post-metadata">

### Author: ![aquanaut](https://discourse.paraview.org/user_avatar/discourse.paraview.org/aquanaut/32/1302_2.png) [@aquanaut](https://discourse.paraview.org/u/aquanaut)
#### Post date: [July 7, 2021, 8:59am UTC](https://discourse.paraview.org/t/no-plot-using-csv-data/7285/4 "2021-07-07T08:59:06Z")

</div>

hi Mathieu,could you please give me some advice?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [July 7, 2021, 9:00am UTC](https://discourse.paraview.org/t/no-plot-using-csv-data/7285/5 "2021-07-07T09:00:10Z")

</div>

In this case I’d use RessampleToImage, but I had little success with your data so far and no more time to spend on it, sorry.

---

<div class="post-metadata">

### Author: ![aquanaut](https://discourse.paraview.org/user_avatar/discourse.paraview.org/aquanaut/32/1302_2.png) [@aquanaut](https://discourse.paraview.org/u/aquanaut)
#### Post date: [July 19, 2021, 9:40am UTC](https://discourse.paraview.org/t/no-plot-using-csv-data/7285/6 "2021-07-19T09:40:57Z")

</div>

![image](https://discourse.paraview.org/uploads/default/original/2X/5/555d56979be1affa90caa65810ada08730d8b936.png)  
There is no data filtering with Ressample to Image.

---

<div class="post-metadata">

### Author: ![Kenneth\_Moreland](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kenneth_moreland/32/15033_2.png) [@Kenneth\_Moreland](https://discourse.paraview.org/u/Kenneth_Moreland)
#### Post date: [July 19, 2021, 12:38pm UTC](https://discourse.paraview.org/t/no-plot-using-csv-data/7285/7 "2021-07-19T12:38:08Z")

</div>

When you use `Table to Points`, it just creates data at the specified points in space. Everything between those points is just empty space. The `Resample to Image` filter is looking specifically at different points in space, which are just empty. For `Resample to Image` to work, you need a cell structure that allows data to be interpolated in space, which `Table to Points` does not provide.

I think the simplest solution is to use the `Point Volume Interpolator`, which will splat your points on a grid.

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [July 28, 2021, 1:00am UTC](https://discourse.paraview.org/t/no-plot-using-csv-data/7285/8 "2021-07-28T01:00:11Z")

</div>

Thanks for the tip Ken, I was just looking for this. I notice that the Point Volume Interpolator really doen’t - it tends to put Point data into elements until it gets half way to the next Point. Only the elements in the exact middle are “interpolated”. Shouldn’t this filter either really interpolate between points as it moves over elements, or have that as an option?

---

<div class="post-metadata">

### Author: ![Kenneth\_Moreland](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kenneth_moreland/32/15033_2.png) [@Kenneth\_Moreland](https://discourse.paraview.org/u/Kenneth_Moreland)
#### Post date: [July 28, 2021, 1:17pm UTC](https://discourse.paraview.org/t/no-plot-using-csv-data/7285/9 "2021-07-28T13:17:25Z")

</div>

I’m not sure I understand your point. Yes, if you use a Gaussian kernel with the `Point Volume Interpolator` then you can have gaps or overlaps in the sampling. But I think with the Voronoi kernel it finds the nearest point each time, so you don’t get those gaps.

Of course, you could always use the `Delaunay 3D` filter instead. That will preserve the original sampling of the data. But it is a more computationally intensive algorithm and could cause problems with larger data or in parallel.

For the data attached to this question, I ran both the `Point Volume Interpolator` (with Voronoi kernel) and `Delaunay 3D`. Despite the fact that the points are irregularly spaced, the two are visually similar.

 ![interpolator-vs-delaunay](https://discourse.paraview.org/uploads/default/original/2X/8/867155de005efc858cecf8329a76b4530ca036e3.png)
