<div dir="ltr">I think what you would need to do is use a Python Programmable filter to essentially generate a point data with 3 points at the interior points in the grid. One would be for the point data for the first cell using the original interior point, another point marked with vtkValidPointMask of 0 to indicate that it shouldn't be used for plotting and a third point for the second cell using the original interior point. The first and third points above would have a vtkValidPointMask of 1 to indicate that they should be plotted. There was some talk about adding functionality to ParaView's plotting to do this easier but no real action on it yet.<br><br>Regards,<br>Andy<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 23, 2014 at 12:01 PM, Francois Beaubert <span dir="ltr"><<a href="mailto:Francois.Beaubert@univ-valenciennes.fr" target="_blank">Francois.Beaubert@univ-valenciennes.fr</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:#000000">Thanks Andy for your kind answer.<br><br>I follow the same path as yours with two slices but sadly can't go any further.<br>But perhaps someone can help us to overcome this <span lang="en"><span> obstacle</span></span><br><br>Be sure that I will share the solution if I found one :)<br><br>Thanks again.<br><br><div>Regards,<br>François <br></div><br><hr><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt"><b>De: </b>"Andy Bauer" <<a href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>><br><b>À: </b>"Francois Beaubert" <<a href="mailto:Francois.Beaubert@univ-valenciennes.fr" target="_blank">Francois.Beaubert@univ-valenciennes.fr</a>><br><b>Cc: </b><a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br><b>Envoyé: </b>Mardi 23 Décembre 2014 15:40:42<br><b>Objet: </b>Re: [Paraview] Line plot with cell data: PlotOverLine ?<div><div class="h5"><br><br><div dir="ltr"><div>The plot over line filter only interpolates at the specified points so it will always have point data output for the plot. You can try using two slice planes that intersect at the location of the line and then maybe some cut filters to get rid of the rest of the line that's not wanted. I'm not sure of the details of how to turn this into a plot view in paraview with discontinuous values. If you figure that step out, please share it since I was trying to do similar things but didn't get to figuring out the last step in the process.<br><br></div>Regards,<br>Andy<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 23, 2014 at 8:41 AM, Francois Beaubert <span dir="ltr"><<a href="mailto:Francois.Beaubert@univ-valenciennes.fr" target="_blank">Francois.Beaubert@univ-valenciennes.fr</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:#000000">Hello,<br>
<br>
I would like to see my finite volume mesh resolution in a line plot
(OpenFOAM data). I would like to use the PlotOverLine filter or
something else that can plot :<br>
<br>
* only the cell center values when inside the internal mesh<br>
* the boundary face values when on the computational domain boundary<br>
<br>
I've tried to use the PointDatatoCellData filter before using the
PlotOverLine filter but it doesn't change anything for me and I don't
know if it's the best procedure to accomplish this.<br>
<br>
Basically, I just want to have a line plot with the same number and
values as the cell centers when inside the internal mesh + 2 face
centers if the line cross the domain boundaries.<br>
<br>
Is it possible to use some filters in addition to PlotOverLine or something else to obtain this behavior ?<br>
<br>
Any help will be warmly welcome <img alt="" title="Smile" src="http://www.cfd-online.com/Forums/images/smilies/smile.gif" border="0"><br>
Thanks
<br><br><div>François,<br></div></div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br></blockquote></div></div>
</div></div></div><br></div></div></blockquote></div></div>