[Paraview] Plot selection over time for threshold
Aron Helser
aron.helser at kitware.com
Fri Jan 12 10:31:17 EST 2018
Hi Jairaj,
This is exactly what the 'trace' and python macro functions are for. Take a
look in the Tools menu, and choose Start Trace. If you check the 'show
incremental trace' button you can see it's recording a python script as you
take actions in the GUI. When you've completed your steps, you can choose
'save as python macro' and you'll get a button that can repeat the steps.
To go more in-depth, look for information on python scripting in Paraview!
Regards,
Aron
On Thu, Jan 11, 2018 at 7:47 PM, Jairaj Mathur <hero.jairaj at gmail.com>
wrote:
> Hi Ken
>
> This is EXACTLY what I wanted! Thank you so much. Is it possible to create
> a custom filter to do this, so that I dont have to follow these steps?
>
> Jairaj Mathur
> Mechanical Engineering
> Washington University in St Louis
>
> On Jan 8, 2018 2:23 PM, "Moreland, Kenneth" <kmorel at sandia.gov> wrote:
>
>> Jairaj,
>>
>>
>>
>> I’m not sure what exactly you mean by “the threshold,” but there are many
>> ways to plot the average of a threshold-selection of cells over time.
>>
>>
>>
>> The most straightforward way is to open up the Find Data dialog box,
>> select the cells you want to plot, and then create a Plot Selection Over
>> Time filter. Specifically, here are steps that will do such a plot:
>>
>>
>>
>> 1. Open your data in ParaView. Apply.
>> 2. Open the Find Data dialog box (Edit → Find Data or click the
>> toolbar button on the top toolbar).
>> 3. In the top row, set the left combo box to either “Cell(s)” or
>> “Point(s)” depending on whether your data is cell or point data. In the
>> longer combo box to the right, make sure that your data is selected.
>> 4. In the second row, set the left combo box to the field you want to
>> threshold on. Change the next combo box to say “is between”. This will
>> create to text edit boxes where you enter the minimum and maximum values of
>> your threshold range.
>> 5. Click the “Run Selection Query” button. This will select all cells
>> or points matching your threshold.
>> 6. Click the “Plot Selection Over Time” at the bottom of the Find
>> Data dialog box. This will create a filter in the pipeline browser.
>> 7. Close the Find Data dialog box and click the Apply button.
>>
>>
>>
>> -Ken
>>
>>
>>
>> *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Jairaj
>> Mathur
>> *Sent:* Friday, January 5, 2018 4:53 PM
>> *To:* paraview <paraview at paraview.org>
>> *Subject:* [EXTERNAL] [Paraview] Plot selection over time for threshold
>>
>>
>>
>> Dear all
>>
>>
>>
>> How can I plot the average over time of only the threshold cells? It
>> should only average the cells that are within the threshold.
>>
>>
>>
>> Thanks a lot!
>>
>>
>>
>> --
>>
>> Jairaj Mathur,
>> Mechanical Engineering
>>
>> Washington University in St Louis
>>
>>
>>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> https://paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://paraview.org/pipermail/paraview/attachments/20180112/a27160e3/attachment.html>
More information about the ParaView
mailing list