[Paraview] Plot selection over time
Hello all, I have a question. Is there anyway to draw the result of a filter over time. I have a programmable filter which is giving back one number for each time step and I like to draw this over time, but the plot selection over time will not do this for me. I know I can use Excel of course, but is there anyway to pass an array which is the result of the filter just before the "Plot Selection Over Time" on data set to it and then draw this using paraview? I mean having filters in order of following: 1.Dataset 3. Python Calculator 4.Plot Selection Over Time Thanks ___ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] plot selection over time
Suppose I want to plot a cell variable as a function of time. I can see how to do that with the PlotSelectionOverTime filter. But what I really want to do is the same plot for many cells, all at the same time. Is there an easy way to do that? On the Display tab, PlotSelectionOverTime only allows me to select one cell at a time. Thanks, Alan ___ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] plot selection over time
That's not possible currently. There is a feature request on the bug tracker I believe, but we havent addressed it yet. Utkarsh On Tue, Feb 21, 2012 at 2:43 PM, Scott, W Alan wrote: > Suppose I want to plot a cell variable as a function of time. I can see how > to do that with the PlotSelectionOverTime filter. But what I really want to > do is the same plot for many cells, all at the same time. Is there an easy > way to do that? On the Display tab, PlotSelectionOverTime only allows me to > select one cell at a time. > > > > Thanks, > > Alan > > > ___ > 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 > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > ___ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
[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
Re: [Paraview] Plot selection over time for threshold
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-boun...@paraview.org] On Behalf Of Jairaj Mathur Sent: Friday, January 5, 2018 4:53 PM To: paraview 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
Re: [Paraview] Plot selection over time for threshold
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" 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-boun...@paraview.org] *On Behalf Of *Jairaj > Mathur > *Sent:* Friday, January 5, 2018 4:53 PM > *To:* paraview > *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
Re: [Paraview] Plot selection over time for threshold
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 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" 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-boun...@paraview.org] *On Behalf Of *Jairaj >> Mathur >> *Sent:* Friday, January 5, 2018 4:53 PM >> *To:* paraview >> *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 > > ___ 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
Re: [Paraview] Plot selection over time for threshold
Hi Aron I tried your method and created the trace. When I go to the python shell and run that python macro, it says that the custom filter I had created does not exist. My custom filter consists of 2 calculator filters, each calculating different things. To create that custom filter, I selected both the calculators on the pipeline browser, right click-> create custom filter->finish. To create my python macro, I first load up my .vtu files in the pipeline browser, hit apply, then I start trace. I add my custom filter, follow Kenneth's procedure to obtain the plot over time, then I hit Stop trace. Then in the script generated, file->save as macro. On Fri, Jan 12, 2018 at 9:31 AM, Aron Helser wrote: > 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 > 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" 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-boun...@paraview.org] *On Behalf Of >>> *Jairaj >>> Mathur >>> *Sent:* Friday, January 5, 2018 4:53 PM >>> *To:* paraview >>> *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 >> >> > -- 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
[Paraview] Plot Selection Over Time: Result of Integrate Variables
Hello, I'd like to plot the result of the "Integrate Variables" Filter over the Time. Isn't that possible? In this case, I'm calculating the massflow m' by slicing a pipe, extracting a surface, generating surface normals, calculate with the calculator (Result=(NormalsX*Ux+NormalsY*Uy+NormalsZ*Uz)*density) and adding a "Integrate Variables" Filter. Plotting all other values over the time works greatly, but I'm not able to plot the massflow over the time. Thanks for your help! Dominic ___ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] Plot Selection Over Time: Result of Integrate Variables
I am not sure why it wouldn't work. Remember to plot point-based arrays, you should created a point-selection, while to plot cell-based arrays, you should create a cell-selection. Utkarsh On Fri, Dec 4, 2009 at 3:42 AM, Dominic Jennewein wrote: > Hello, > > I'd like to plot the result of the "Integrate Variables" Filter over the > Time. Isn't that possible? > > In this case, I'm calculating the massflow m' by slicing a pipe, extracting > a surface, generating surface normals, calculate with the calculator > (Result=(NormalsX*Ux+NormalsY*Uy+NormalsZ*Uz)*density) and adding a > "Integrate Variables" Filter. > Plotting all other values over the time works greatly, but I'm not able to > plot the massflow over the time. > > Thanks for your help! > > Dominic > > ___ > 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 > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > > ___ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] Plot Selection Over Time: Result of Integrate Variables
Thank you! It works now! I simply had to select the result of the integration (the point in the 3D View) with "SelectPointsThrough". "SelectPointsOn" didn't work. 2009/12/4 Utkarsh Ayachit > I am not sure why it wouldn't work. Remember to plot point-based > arrays, you should created a point-selection, while to plot cell-based > arrays, you should create a cell-selection. > > Utkarsh > > On Fri, Dec 4, 2009 at 3:42 AM, Dominic Jennewein > wrote: > > Hello, > > > > I'd like to plot the result of the "Integrate Variables" Filter over the > > Time. Isn't that possible? > > > > In this case, I'm calculating the massflow m' by slicing a pipe, > extracting > > a surface, generating surface normals, calculate with the calculator > > (Result=(NormalsX*Ux+NormalsY*Uy+NormalsZ*Uz)*density) and adding a > > "Integrate Variables" Filter. > > Plotting all other values over the time works greatly, but I'm not able > to > > plot the massflow over the time. > > > > Thanks for your help! > > > > Dominic > > > > ___ > > 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 > > > > Follow this link to subscribe/unsubscribe: > > http://www.paraview.org/mailman/listinfo/paraview > > > > > ___ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview