# Path plot

**URL:** https://discourse.paraview.org/t/path-plot/8636
**Category:** ParaView Support
**Created:** [December 16, 2021, 9:56am UTC](https://discourse.paraview.org/t/path-plot/8636 "2021-12-16T09:56:46Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![FEngineer](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/f/5f8ce5/32.png) [@FEngineer](https://discourse.paraview.org/u/FEngineer)
#### Post date: [December 16, 2021, 9:56am UTC](https://discourse.paraview.org/t/path-plot/8636/1 "2021-12-16T09:56:46Z")

</div>

Hi,

i wonder if it’s possible to create path plots in ParaView. What I mean os basically extended version of Plot Over Line filter with a possibility to create XY plots using data along the path that doesn’t have to be a single straight line. For example, if I have a cylindrical geometry and want to plot the values from points or cells lying on the circumference of the cylinder vs the distance, would that be possible ?

---

<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: [December 16, 2021, 2:04pm UTC](https://discourse.paraview.org/t/path-plot/8636/2 "2021-12-16T14:04:26Z")

</div>

Internally, ParaView can support plotting over any curve represented as a poly line. The `Plot Over Line` filter really only restricts you to a line because it is very difficult to place anything more complicated with widget controls.

If you have a poly line in 3D space whose data you want an x-y chart for, you can use the `Plot On Sorted Lines` filter.

There are some tricks you can do to extract interesting lines of data to plot on. In your example where you have a cylinder and want to plot along the circumference, you can first use the `Extract Surface` filter to get just the sides of the cylinder and then the `Slice` filter to get a curve around the circumference. From there you can use the `Plot On Sorted Lines` filter to get the XY plot.

In fact, ParaView comes with a compound filter that combines all of these operations. It is called `Plot On Intersection Curves`. It works reasonably well, but I often have problems with the scalings of the 3D widget of this filter for some reason.

---

<div class="post-metadata">

### Author: ![timothee.chabat](https://discourse.paraview.org/user_avatar/discourse.paraview.org/timothee.chabat/32/5729_2.png) [@timothee.chabat](https://discourse.paraview.org/u/timothee.chabat)
#### Post date: [December 16, 2021, 2:34pm UTC](https://discourse.paraview.org/t/path-plot/8636/3 "2021-12-16T14:34:02Z")

</div>

Also note that on ParaView master the new `Plot Over Line` algorithm now support polylines and multiblock composed of lines/polylines, using the filter `Plot Over Lines From Custom Source`. This can be usefull if you want to use the new feature `Sampling pattern`.

---

<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: [January 15, 2024, 7:42am UTC](https://discourse.paraview.org/t/path-plot/8636/4 "2024-01-15T07:42:49Z")

</div>

A post was split to a new topic: [Plot question](https://discourse.paraview.org/t/plot-question/13696)
