# Plot "surface" over a model line

**URL:** https://discourse.paraview.org/t/plot-surface-over-a-model-line/12595
**Category:** ParaView Support
**Created:** [July 28, 2023, 10:00am UTC](https://discourse.paraview.org/t/plot-surface-over-a-model-line/12595 "2023-07-28T10:00:49Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![SebastianSalazar42](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/46a35a/32.png) [@SebastianSalazar42](https://discourse.paraview.org/u/SebastianSalazar42)
#### Post date: [July 28, 2023, 10:00am UTC](https://discourse.paraview.org/t/plot-surface-over-a-model-line/12595/1 "2023-07-28T10:00:49Z")

</div>

Hi!

I wonder if there is an easy way to plot values over a simple line (join values with a line; the values are normal to the line). Part of what you see is a “Warp by Vector” applied to the line, but that only gives me “the edge” (i like the color though).

If a colored surface is generated (like a fill), it will be useful too (different ideas are appreciated).

 ![image](https://discourse.paraview.org/uploads/default/original/2X/8/8e632fbe86cb95615cd37ae7d596d82930be1a1e.png)

note: I tried doing my research first, but I didn’t have luck.

edit: seems like “Warp by vector” had an option called “Generate Enclosure” that could be useful in this case buy i cannot find it in my regular Paraview

Greetings!

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [July 31, 2023, 3:00pm UTC](https://discourse.paraview.org/t/plot-surface-over-a-model-line/12595/2 "2023-07-31T15:00:22Z")

</div>

Does this have to be in a 3D view? If not, you apply the `Plot Data` filter and then look at the data in a 2D view like Line Chart or Bar Chart as my be appropriate. You can setup the X and Y axis for either using the `Properties` panel.

---

<div class="post-metadata">

### Author: ![SebastianSalazar42](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/46a35a/32.png) [@SebastianSalazar42](https://discourse.paraview.org/u/SebastianSalazar42)
#### Post date: [July 31, 2023, 3:05pm UTC](https://discourse.paraview.org/t/plot-surface-over-a-model-line/12595/3 "2023-07-31T15:05:38Z")

</div>

Thank you for your answer. Yes, it has to be in 3D. I want to “fill” the diagrams in a big model composed of many lines (not to display data in the window).

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [July 31, 2023, 3:07pm UTC](https://discourse.paraview.org/t/plot-surface-over-a-model-line/12595/4 "2023-07-31T15:07:49Z")

</div>

Do you have a sample dataset to share? Let’s see what we can do.

---

<div class="post-metadata">

### Author: ![SebastianSalazar42](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/46a35a/32.png) [@SebastianSalazar42](https://discourse.paraview.org/u/SebastianSalazar42)
#### Post date: [July 31, 2023, 3:16pm UTC](https://discourse.paraview.org/t/plot-surface-over-a-model-line/12595/5 "2023-07-31T15:16:40Z")

</div>

Yes! Here it goes. Applying “Warp by Scalar” to this simple dataset and turning ON both layers, generates something similar to the provided picture (I just checked)  
[line.vtk](https://discourse.paraview.org/uploads/short-url/5xO8ngX80XavnHt6gPPOyL6viD6.vtk) (236 Bytes)

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [July 31, 2023, 3:23pm UTC](https://discourse.paraview.org/t/plot-surface-over-a-model-line/12595/6 "2023-07-31T15:23:53Z")

</div>

Here’s quick pipeline:

```auto
data -> Warp By Scalar ---|
  | |
  +-----------------------+----> Append Datasets --> Delaunay2D

```

 ![image](https://discourse.paraview.org/uploads/default/original/2X/c/c4de9e33e4aa22d8f964f2d79735ffa29abcf458.png)

Is that what you’re looking for?

---

<div class="post-metadata">

### Author: ![SebastianSalazar42](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/46a35a/32.png) [@SebastianSalazar42](https://discourse.paraview.org/u/SebastianSalazar42)
#### Post date: [July 31, 2023, 3:34pm UTC](https://discourse.paraview.org/t/plot-surface-over-a-model-line/12595/7 "2023-07-31T15:34:08Z")

</div>

Yes! Thank you very much! 😄
