[Paraview] Plot on a Contour surface

Berk Geveci berk.geveci at kitware.com
Tue Dec 30 14:53:06 EST 2008


Try this:

* Create a spreadsheet view
* Turn on the visibility of the dataset you want to save
* File -> Export
* Export to csv

-berk


On Tue, Dec 30, 2008 at 10:43 AM, Stephen Wornom
<stephen.wornom at sophia.inria.fr> wrote:
> Berk Geveci wrote:
>>
>> I had some figuring this one out. Here is the pipeline:
>>
>> reader -> contour -> triangle strips -> (extract selection) -> clean
>> to grid -> extract surface
>>
>>
>
> I was hoping that it would work for a line as well in 3.4.0
> but I did not succeed.
> If I do
> extract surface -> connectivity filter -> threshold filter + slice in z
> I get the attached figure. export x3d writes the coordinates to a file but I
> don't see the pressure values. Anyone know how to write the coordinates +
> corresponding pressure values?
> Stephen
>>
>> The purpose of each filter is:
>>
>> contour: extract the boundary
>> triangle strips: combine the points of each line to create polylines.
>> Otherwise, each line segment is a separate cell.
>> extract selection: extract one of the polylines if there are more than
>> one (optional)
>> clean to grid: convert to unstructured grid and remove duplicate points
>> extract surface: convert to polydata. This filter has the useful side
>> effect of ordering points along the polyline so that the polyline has
>> points 0, 1, 2, 3... instead of 0, 5, 3, 9. This is necessary for
>> plotting
>>
>> Once you apply this pipeline, you can create a XY Plot view and plot
>> any variable along the curve. I can't remember if this worked on 3.4.
>> It definitely works with the development (cvs) version of ParaView.
>>
>> In the next version, there will probably be one filter that does
>> everything I described here.
>>
>> -berk
>>
>> On Fri, Dec 5, 2008 at 5:26 PM, Berk Geveci <berk.geveci at kitware.com>
>> wrote:
>>
>>>
>>> I am guessing this is a 2D contour, correct? If yes, this is a feature
>>> I am supposed to work on for the next release. Can you send me an
>>> example file?
>>>
>>> -berk
>>>
>>> On Thu, Nov 20, 2008 at 11:16 AM, Sergio Di Bari <dibaris at tcd.ie> wrote:
>>>
>>>>
>>>> Hi everybody,
>>>>
>>>> I'm having some problem with Paraview.
>>>> I have a bubble growing and detaching from a surface...it is a very
>>>> simple problem, I can plot the surface of the bubble making a contour
>>>> filter where is constant the value of the phase...in this way I can
>>>> see the shape of the bubble...
>>>> What I'd like to do is to plot the value of some parameter (as the
>>>> pressure of the temperature) along this contour.
>>>> I'd like to do something like the filter command "Plot Over Line" but
>>>> the problem is that I don't have a line but a contour of a bubble whit
>>>> a shape that changes during the growth.
>>>>
>>>> Thanks a lot!
>>>>
>>>> Sergio
>>>>
>>>> --
>>>> Sergio Di Bari
>>>> Department of Mechanical & Manufacturing Engineering
>>>> Parsons Building
>>>> Trinity College Dublin
>>>> Dublin 2
>>>> _______________________________________________
>>>> ParaView mailing list
>>>> ParaView at paraview.org
>>>> http://www.paraview.org/mailman/listinfo/paraview
>>>>
>>>>
>>
>> _______________________________________________
>> ParaView mailing list
>> ParaView at paraview.org
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>
>
> --
> stephen.wornom at sophia.inria.fr
> 2004 route des lucioles - BP93
> Sophia Antipolis
> 06902 CEDEX
>
> Tel: 04 92 38 50 54
> Fax: 04 97 15 53 51
>
>


More information about the ParaView mailing list