Re: [Paraview] Plot selection over time for threshold

2018-01-12 Thread Jairaj Mathur
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 <aron.hel...@kitware.com>
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 <hero.jai...@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" <kmo...@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-boun...@paraview.org] *On Behalf Of 
>>> *Jairaj
>>> Mathur
>>> *Sent:* Friday, January 5, 2018 4:53 PM
>>> *To:* paraview <paraview@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
>>
>>
>


-- 
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

2018-01-12 Thread Aron Helser
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.jai...@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" <kmo...@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-boun...@paraview.org] *On Behalf Of *Jairaj
>> Mathur
>> *Sent:* Friday, January 5, 2018 4:53 PM
>> *To:* paraview <paraview@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
>
>
___
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

2018-01-11 Thread Jairaj Mathur
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" <kmo...@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-boun...@paraview.org] *On Behalf Of *Jairaj
> Mathur
> *Sent:* Friday, January 5, 2018 4:53 PM
> *To:* paraview <paraview@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


Re: [Paraview] Plot selection over time for threshold

2018-01-08 Thread Moreland, Kenneth
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 <paraview@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


[Paraview] Plot selection over time for threshold

2018-01-05 Thread Jairaj Mathur
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 colors: function value -> RGB tuple

2017-12-14 Thread Moreland, Kenneth
You can achieve this by writing making a filter that creates a 3D vector field 
where each vector represents an RGB color. If writing out floating point 
values, the color channel values should be between 0 and 1. You can then render 
this 3D vector field directly as colors by turning off the “Map Scalars” 
display parameter. “Map Scalars” is an advanced option, so the easiest way to 
find it is to type “map” into the search bar at the top of the properties panel.

-Ken

From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Nico Schlömer
Sent: Thursday, December 14, 2017 7:15 AM
To: paraview@paraview.org
Subject: [EXTERNAL] [Paraview] plot colors: function value -> RGB tuple

Hi everyone,

I need to plot complex-valued functions over various domains, and instead of 
splitting the values into real and imaginary part (or absolute value and 
angle), I would like to use a "2D colormap" approach as sometimes suggested for 
complex-valued functions (see, e.g., [1]).
As a lowkey approach of getting this into ParaView, I was wondering if it's 
possible to create a filter that takes a point value (or two), runs it through 
some specified (Python) code, and uses the returned RGB tuple for rendering the 
plot.

Any hints?

Cheers,
Nico

[1] https://github.com/BIDS/colormap/issues/6#issuecomment-220839685
___
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 colors: function value -> RGB tuple

2017-12-14 Thread Nico Schlömer
Hi everyone,

I need to plot complex-valued functions over various domains, and instead
of splitting the values into real and imaginary part (or absolute value and
angle), I would like to use a "2D colormap" approach as sometimes suggested
for complex-valued functions (see, e.g., [1]).
As a lowkey approach of getting this into ParaView, I was wondering if it's
possible to create a filter that takes a point value (or two), runs it
through some specified (Python) code, and uses the returned RGB tuple for
rendering the plot.

Any hints?

Cheers,
Nico

[1] https://github.com/BIDS/colormap/issues/6#issuecomment-220839685
___
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 over spline or intersecting plane

2017-06-09 Thread Scott, W Alan
I am trying to figure out how to plot over more complex surfaces than a 
straight line.  Say a user wants to plot over a curved line, with the line 
matching the inside surface of the can.exo.  Can you now do this?  How would a 
user control the line?

Is the Plot On Intersection Curves filter what I want?

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Rescaling axis in paraview plot

2017-04-29 Thread Amine Aboufirass
Hi All,

Does there exist any way to rescale x-axis values for a Time history 2D plot in 
paraview? I am seeing some properties with log scale and custom data in the 
properties window but heres the issue:

1) Log scale is not what I am looking for. I am looking to rescale my data 
and show x-axis going from 0 to 1 rather than 0 to 100

2) Custom data for bottom axis will truncate data that is not part of the 
range defined by the user. I am looking to actually rescale the plot in one 
axis based on the new range.

3) No additional filter exists that I could further apply on my current 
plot to play around with the axis ranges.

Does anyone know how to do this without necessarily using macros? Thanks.


Amine Aboufirass



DISCLAIMER: This message is intended exclusively for the addressee(s) and may 
contain confidential and privileged information. If you are not the intended 
recipient please notify the sender immediately and destroy this message. 
Unauthorized use, disclosure or copying of this message is strictly prohibited. 
The foundation 'Stichting Deltares', which has its seat at Delft, The 
Netherlands, Commercial Registration Number 41146461, is not liable in any way 
whatsoever for consequences and/or damages resulting from the improper, 
incomplete and untimely dispatch, receipt and/or content of this e-mail.
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] "Plot Data" filter has problem with negative values

2017-01-30 Thread FERHAT HAMIDA Abdelhak via ParaView
I see that restarting the application to make the new settings taking effect is 
disturbing since this does not happen in all cases. In what I have tested, this 
only happen when the saved setting view have LeftAxisRangeMinimum strictly 
positive  (not zero) with LeftAxisLogScale enabled.
Now, if I have to give suggestions:    - This case has be explored, perhaps 
patched.
    - Give to the user the possibility to save the settings in his his 
workspace, in different names, not as default. In this manner, one can try 
severall settings on the same plot and do not alter other projects. 

Abdelhak
 

Le Lundi 30 janvier 2017 2h36, Utkarsh Ayachit 
 a écrit :
 

 Ah! Yes, we have  been discussing offline that the "saving property
values to settings", which is nifty feature, can sometimes cause
confusion since it's not clear what has been modified from default and
it's easy to forget. Something to mull over. We probably need to think
about finer control over what gets saved to settings and then
indication in the UI of what is affected by local settings -- or
something along those lines.

Utkarsh

On Sun, Jan 29, 2017 at 2:34 PM, FERHAT HAMIDA Abdelhak
 wrote:
> Thank you Utkarsh Ayachit
> After your reply, I found the origin of my problem.
> In a previous run, I used a semilog plot by enabling "Left Axis Log Scale"
> and saved the setting as default one. Paraview saves the setting in the file
> : $HOME/.config/ParaView/ParaView-UserSettings.json
>
> In the following runs, "Left Axis Log Scale" is enabled by default and
> ParaView do not accept negative values for "Left Axis Range Minimum" even if
> I disable  "Left Axis Log Scale".
>
> To solve the problem, I disable "Left Axis Log Scale", save the settings and
> restart ParaView. (If I do not restart, I still in the same situation until
> next run). The changes do not take effect in the current session.
>
> So, I this is not a normal behaviour, it can be a bug.
>
> Best regards.
>
>
>
>
>
>
>
>
> Le Dimanche 29 janvier 2017 17h35, Utkarsh Ayachit
>  a écrit :
>
>
> I am not able to reproduce the problem. Attached is a state file and
> screenshot generated using ParaView 5.2.
>
> On Sun, Jan 29, 2017 at 10:33 AM, FERHAT HAMIDA Abdelhak via ParaView
>  wrote:
>> I want to plot a tabulated fonction (say F=cos(t)) using paraview which
>> reads the values of t and F from a csv file then the plot F-t is generated
>> by the "Plot Data" filter. t takes values in the [-1,+1] range.
>> The problem is:
>>
>> "Left Range Axis Maximum" can hold negative and positive values.
>> "Left Range Axis Minimum" can not hold only negative values or zero.
>>
>> Thi results in: negative values of the function are not plotted.
>> The only solution I found is to get a plot of the reverse function (-F) by
>> setting "Left Range Axis Maximum" to a (-1) and "Left Range Axis Minimum"
>> to
>> (+1) which is very strange (Maximum < Minimum). The csv data and the plot
>> are in the attached files.
>> So please is there a solution to this problem or is this a bug in
>> paraview?
>> Nota: I get this with paraview 4.4.0 and 5.2 versions on Centos 7.
>>
>>
>> ___
>> 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:
>> http://public.kitware.com/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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] "Plot Data" filter has problem with negative values

2017-01-29 Thread Utkarsh Ayachit
Ah! Yes, we have  been discussing offline that the "saving property
values to settings", which is nifty feature, can sometimes cause
confusion since it's not clear what has been modified from default and
it's easy to forget. Something to mull over. We probably need to think
about finer control over what gets saved to settings and then
indication in the UI of what is affected by local settings -- or
something along those lines.

Utkarsh

On Sun, Jan 29, 2017 at 2:34 PM, FERHAT HAMIDA Abdelhak
 wrote:
> Thank you Utkarsh Ayachit
> After your reply, I found the origin of my problem.
> In a previous run, I used a semilog plot by enabling "Left Axis Log Scale"
> and saved the setting as default one. Paraview saves the setting in the file
> : $HOME/.config/ParaView/ParaView-UserSettings.json
>
> In the following runs, "Left Axis Log Scale" is enabled by default and
> ParaView do not accept negative values for "Left Axis Range Minimum" even if
> I disable  "Left Axis Log Scale".
>
> To solve the problem, I disable "Left Axis Log Scale", save the settings and
> restart ParaView. (If I do not restart, I still in the same situation until
> next run). The changes do not take effect in the current session.
>
> So, I this is not a normal behaviour, it can be a bug.
>
> Best regards.
>
>
>
>
>
>
>
>
> Le Dimanche 29 janvier 2017 17h35, Utkarsh Ayachit
>  a écrit :
>
>
> I am not able to reproduce the problem. Attached is a state file and
> screenshot generated using ParaView 5.2.
>
> On Sun, Jan 29, 2017 at 10:33 AM, FERHAT HAMIDA Abdelhak via ParaView
>  wrote:
>> I want to plot a tabulated fonction (say F=cos(t)) using paraview which
>> reads the values of t and F from a csv file then the plot F-t is generated
>> by the "Plot Data" filter. t takes values in the [-1,+1] range.
>> The problem is:
>>
>> "Left Range Axis Maximum" can hold negative and positive values.
>> "Left Range Axis Minimum" can not hold only negative values or zero.
>>
>> Thi results in: negative values of the function are not plotted.
>> The only solution I found is to get a plot of the reverse function (-F) by
>> setting "Left Range Axis Maximum" to a (-1) and "Left Range Axis Minimum"
>> to
>> (+1) which is very strange (Maximum < Minimum). The csv data and the plot
>> are in the attached files.
>> So please is there a solution to this problem or is this a bug in
>> paraview?
>> Nota: I get this with paraview 4.4.0 and 5.2 versions on Centos 7.
>>
>>
>> ___
>> 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:
>> http://public.kitware.com/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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] "Plot Data" filter has problem with negative values

2017-01-29 Thread FERHAT HAMIDA Abdelhak via ParaView
I want to plot a tabulated fonction (say F=cos(t)) using paraview which reads 
the values of t and F from a csv file then the plot F-t is generated by the 
"Plot Data" filter. t takes values in the [-1,+1] range.The problem is:
   - "Left Range Axis Maximum" can hold negative and positive values.
   - "Left Range Axis Minimum" can not hold only negative values or zero.
Thi results in: negative values of the function are not plotted.The only 
solution I found is to get a plot of the reverse function (-F) by setting "Left 
Range Axis Maximum" to a (-1) and "Left Range Axis Minimum" to (+1) which is 
very strange (Maximum < Minimum). The csv data and the plot are in the attached 
files.  
So please is there a solution to this problem or is this a bug in 
paraview?Nota: I get this with paraview 4.4.0 and 5.2 versions on Centos 7. 
"t","F"
0.000,1.000
1.000,0.988
2.000,0.951
3.000,0.891
4.000,0.809
5.000,0.707
6.000,0.588
7.000,0.454
8.000,0.309
9.000,0.156
10.000,0.000
11.000,-0.156
12.000,-0.309
13.000,-0.454
14.000,-0.588
15.000,-0.707
16.000,-0.809
17.000,-0.891
18.000,-0.951
19.000,-0.988
20.000,-1.000
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Plot over time at an xyz location

2016-07-09 Thread Andy Bauer
Hi Alan,

How about using the Extract Location filter using the interpolate at point
for the mode and then do a Plot Selection Over Time after selecting that
point?

Thanks for asking the question -- I didn't know about the Extract Location
filter until I tried answering this! I was originally thinking of using a
Point Source at the desired location and then Resample with Dataset filter
before doing the Plot Selection Over Time. I'm sick of Ken Moreland always
coming up with better ways of doing what I suggest on the mailing list for
questions like these so this time I looked into it a bit more :)

Cheers,
Andy

On Fri, Jul 8, 2016 at 5:30 PM, Scott, W Alan  wrote:

> Is it possible to plot some variable over time at an xyz location?  For
> instance, if I have water flowing down a pipe, and want to plot the
> pressure as the water velocity increases one unit (i.e., cm) in from the
> edge of the pipe, how do I do it?
>
>
>
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Plot over time at an xyz location

2016-07-08 Thread Scott, W Alan
Is it possible to plot some variable over time at an xyz location?  For 
instance, if I have water flowing down a pipe, and want to plot the pressure as 
the water velocity increases one unit (i.e., cm) in from the edge of the pipe, 
how do I do it?

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Plot csv over time

2016-06-15 Thread Jamison, Ryan Dale
Hello,

I was wondering if there is a way to plot csv data over time? Specifically, I 
would like to read into an active Paraview session that already has some exodus 
results loaded a csv file (this I can already do). This csv file came from the 
same simulation as the exodus data. I’d like to then plot the csv results over 
time such that the green vertical line shows up denoting time as a video plays. 

I’ve found I can use “plot data” for the csv data and I can indeed plot time 
vs. variable but the green vertical line doesn’t appear. My theory is that the 
vertical time marker only appears when plotting something over time with the 
appropriate filter. Any idea how to get the time marker to appear in the plot? 

Thanks, Ryan Jamison
___
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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Plot time in a Line chart view

2016-03-29 Thread no name
i want to pick up this problem:

http://www.paraview.org/pipermail/paraview/2011-April/021225.html

I have a rather simple quest: I have a line chart view, that shows
various plots, and I want to show when time goes on see where I am
(Plot is Energy over time). So for example I want a black line, that
goes vertically with the time over my linechartview.

I can get the time with
inputs[0].GetInformation().Get(vtk.vtkDataObject.DATA_TIME_STEP())

But I don't find a cheap way to display it in the line chart view.
Sadly, the plot time filter only works in the quartile view and also
it is not made for my problem :(

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] plot min/max/average of a variable in all cells/point of a block over time?

2016-03-23 Thread Dennis Conklin
Alan,

Couldn't you just select the block, then use Plot Selection Over Time with 
"Only Report Selection Statistics" selected, without actually extracting each 
block?

Dennis
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] plot min/max/average of a variable in all cells/point of a block over time?

2016-03-23 Thread Moreland, Kenneth
This is way harder than it should be, but it is working in 5.0:

1. Select the block you want the plot for. You can over the mouse over the 
block and hit the b key.
2. Run the "Extract Selection" filter on that block.
3. Open the Find Data dialog.
4. In the first line, choose points or cells (depending on what you want to 
plot), and "ExtractSelection#".
5. In the first criterium line, select "ID" "is >=" "0"
6. Click "Run Selection Query"
7. Click "Plot Selection Over Time"
8. Apply the filter that is created.

The resulting plot will show the min, max, average, and quartiles of all the 
variables. Select down to the one you want to see.

-Ken


From: ParaView 
<paraview-boun...@paraview.org<mailto:paraview-boun...@paraview.org>> on behalf 
of Walter Scott <wasc...@sandia.gov<mailto:wasc...@sandia.gov>>
Date: Wednesday, March 23, 2016 at 12:01 PM
To: "paraview@paraview.org<mailto:paraview@paraview.org>" 
<paraview@paraview.org<mailto:paraview@paraview.org>>
Subject: [EXTERNAL] [Paraview] plot min/max/average of a variable in all 
cells/point of a block over time?


I have a user that is trying to do the following.  What is the “best” way to do 
this?



Is there a method to plot the min/max/average value of a variable in a block(s) 
over time? Similar to the query functionality available in EnSight?



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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] plot min/max/average of a variable in all cells/point of a block over time?

2016-03-23 Thread Scott, W Alan
I have a user that is trying to do the following.  What is the "best" way to do 
this?



Is there a method to plot the min/max/average value of a variable in a block(s) 
over time? Similar to the query functionality available in EnSight?



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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Plot on sorted lines with Cell Array

2016-02-10 Thread Christophe Bourcier
Dear Paraview users,

I want to plot a field on cells with the same discretization as my
mesh. So I don't use Plot over line, but Plot on sorted lines with 2
slices to get the polyline to plot data on.

It works well with a field on nodes, but I can't get a result with a
field on cell. Of course if I use Cell data point data, I get a plot,
but with mean values on the nodes.

In Plot on sorted lines properties, if I choose Attribute type Cell
data, I can't see my field on cells in the list of available fields.

To reproduce the issue:
- download the dataset (802K) : http://bourcier.eu/secteur.tgz
- open it
- display the field U2
- apply a slice in Z normal
- apply a slice in Y normal
- apply Plot on sorted lines
- change Attribute type to Cell data: the field U2 is not available.
- apply the filter Cell data to point data (with Pass Cell Data
ticked) before Plot on sorted lines
- in Point Data, U2 is available, but the resulting plot has mean
values on nodes between cells that have not the same value on the left
and on the right. Zoom at the right end of the line to see it.
- in Cell Data, U2 is now also available, but nothing is displayed. I
would have expected to see a stairstep graph.

Have you an idea on how to get this?

Thank you.

Christophe
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] 'Plot Data' missing Points X/Y/Z as option for X axis on 5.0-RC?

2015-12-10 Thread Joachim Pouderoux
Giuseppe,

You are right. I think this is something we should have addressed with
https://gitlab.kitware.com/paraview/paraview/merge_requests/385

So I have just made a patch for this:
https://gitlab.kitware.com/paraview/paraview/merge_requests/515
If it is all OK it should be ready for 5.0RC2 (at worst for 5.0 final).

Best,


*Joachim Pouderoux*

*PhD, Technical Expert*
*Kitware SAS *


2015-12-09 20:48 GMT+01:00 Giuseppe Bilotta :

> Hello,
>
> up until 4.4 I could use the Plot Data filter to plot any quantity
> over any spatial coordinate for the points. I would Pick "Points (0)"
> or "Points (1)" or "Points (2)" as X Array Name (after un-checking
> "Use index") and select any array I wanted to plot in the Series
> parameters.
>
> In 5.0-RC this doesn't seem to be possible anymore: I have Points X,
> Points Y and Points Z as options for the Series, but not for the X
> Array. There is a horrible workaround to plot a single array (pick the
> array as X and the Points X as Series), but it's a hack and it can't
> be use for multiple series.
>
> Suggestions?
>
> --
> Giuseppe "Oblomov" Bilotta
> ___
> 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:
> http://public.kitware.com/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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] 'Plot Data' missing Points X/Y/Z as option for X axis on 5.0-RC?

2015-12-09 Thread Giuseppe Bilotta
Hello,

up until 4.4 I could use the Plot Data filter to plot any quantity
over any spatial coordinate for the points. I would Pick "Points (0)"
or "Points (1)" or "Points (2)" as X Array Name (after un-checking
"Use index") and select any array I wanted to plot in the Series
parameters.

In 5.0-RC this doesn't seem to be possible anymore: I have Points X,
Points Y and Points Z as options for the Series, but not for the X
Array. There is a horrible workaround to plot a single array (pick the
array as X and the Points X as Series), but it's a hack and it can't
be use for multiple series.

Suggestions?

-- 
Giuseppe "Oblomov" Bilotta
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] plot title

2015-11-16 Thread Samuel Key

Aleksejs,

This is not the only way, but a convenient way to add a title to an 
animation.


Add an Annotate Time filter to the pipe line. Hit apply. Make sure that 
'gear' button is slected. There are 6 'default' locations: Top-Left, 
Top-Center, Top-Right, Btm-Left,... Also, you can pick a custom 
location. Text font and size is completely selectable.


You can either use "Time: %f" and add title text after it, before it, or 
erase "Time:%f"


You can add in parallel another Annotate Time filter... und so weiter.

Hope this helps

Samuel W Key
FMA Development, LLC
1005 39th Ave NE
Great Falls, Montana 59404
USA

On 11/16/2015 6:58 AM, Aleksejs Fomins wrote:

Dear Paraview,

Sorry for the basic question, but I can't manage to get a title for my plot.
I am visualising a set of PVTU files from which I wish to make a movie.

Would you be so kind as to suggest where I must click to have a user-defined 
line of text at the top of the plot

Regards,
Aleksejs Fomins
___
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:
http://public.kitware.com/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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] plot title

2015-11-16 Thread Aleksejs Fomins
Hey Samuel,

This really helps. To be honest, I knew about the annotate time feature, but I 
thought I could have time in the lower corner and title on the top. Anyway, 
this works as well

Thank you
Aleksejs

On 16.11.2015 16:26, Samuel Key wrote:
> Aleksejs,
> 
> This is not the only way, but a convenient way to add a title to an animation.
> 
> Add an Annotate Time filter to the pipe line. Hit apply. Make sure that 
> 'gear' button is slected. There are 6 'default' locations: Top-Left, 
> Top-Center, Top-Right, Btm-Left,... Also, you can pick a custom location. 
> Text font and size is completely selectable.
> 
> You can either use "Time: %f" and add title text after it, before it, or 
> erase "Time:%f"
> 
> You can add in parallel another Annotate Time filter... und so weiter.
> 
> Hope this helps
> 
> Samuel W Key
> FMA Development, LLC
> 1005 39th Ave NE
> Great Falls, Montana 59404
> USA
> 
> On 11/16/2015 6:58 AM, Aleksejs Fomins wrote:
>> Dear Paraview,
>>
>> Sorry for the basic question, but I can't manage to get a title for my plot.
>> I am visualising a set of PVTU files from which I wish to make a movie.
>>
>> Would you be so kind as to suggest where I must click to have a user-defined 
>> line of text at the top of the plot
>>
>> Regards,
>> Aleksejs Fomins
>> ___
>> 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:
>> http://public.kitware.com/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:
> http://public.kitware.com/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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] plot title

2015-11-16 Thread Aleksejs Fomins
Dear Paraview,

Sorry for the basic question, but I can't manage to get a title for my plot.
I am visualising a set of PVTU files from which I wish to make a movie.

Would you be so kind as to suggest where I must click to have a user-defined 
line of text at the top of the plot

Regards,
Aleksejs Fomins
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Plot Area over Time

2015-09-21 Thread Marco Kokic
As far as I can see, the information needed sits in Information -> 
Bounds ->  X range Y range. Just don't know how I could extract it.


On 21.09.2015 15:37, Marco Kokic wrote:

Hey there,

I simulate 2D tissue growth and use ParaView to visualize the data. I 
would like to plot the time dependence of the area of a polygonal 
mesh. But I can't find a way to do that. Any suggestions would be much 
appreciated.


Thanks in advance,
Marco
___
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:
http://public.kitware.com/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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Plot Area over Time

2015-09-21 Thread Cory Quammen
Marco,

Excellent, thanks for sharing!

Cory

On Mon, Sep 21, 2015 at 11:30 AM, Marco Kokic 
wrote:

> Found it: Filters -> Integrate Variables, then select Area, Filters ->
> Plot Selection Over Time
>
>
> On 21.09.2015 16:52, Marco Kokic wrote:
>
>> Rephrase: I'd like to plot spatial bounds over time.
>>
>> On 21.09.2015 15:47, Marco Kokic wrote:
>>
>>> As far as I can see, the information needed sits in Information ->
>>> Bounds ->  X range Y range. Just don't know how I could extract it.
>>>
>>> On 21.09.2015 15:37, Marco Kokic wrote:
>>>
 Hey there,

 I simulate 2D tissue growth and use ParaView to visualize the data. I
 would like to plot the time dependence of the area of a polygonal mesh. But
 I can't find a way to do that. Any suggestions would be much appreciated.

 Thanks in advance,
 Marco
 ___
 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:
 http://public.kitware.com/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:
>> http://public.kitware.com/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:
> http://public.kitware.com/mailman/listinfo/paraview
>



-- 
Cory Quammen
R Engineer
Kitware, Inc.
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Plot Area over Time

2015-09-21 Thread Marco Kokic
Found it: Filters -> Integrate Variables, then select Area, Filters -> 
Plot Selection Over Time


On 21.09.2015 16:52, Marco Kokic wrote:

Rephrase: I'd like to plot spatial bounds over time.

On 21.09.2015 15:47, Marco Kokic wrote:
As far as I can see, the information needed sits in Information -> 
Bounds ->  X range Y range. Just don't know how I could extract it.


On 21.09.2015 15:37, Marco Kokic wrote:

Hey there,

I simulate 2D tissue growth and use ParaView to visualize the data. 
I would like to plot the time dependence of the area of a polygonal 
mesh. But I can't find a way to do that. Any suggestions would be 
much appreciated.


Thanks in advance,
Marco
___
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:
http://public.kitware.com/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:
http://public.kitware.com/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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Plot Area over Time

2015-09-21 Thread Marco Kokic

Rephrase: I'd like to plot spatial bounds over time.

On 21.09.2015 15:47, Marco Kokic wrote:
As far as I can see, the information needed sits in Information -> 
Bounds ->  X range Y range. Just don't know how I could extract it.


On 21.09.2015 15:37, Marco Kokic wrote:

Hey there,

I simulate 2D tissue growth and use ParaView to visualize the data. I 
would like to plot the time dependence of the area of a polygonal 
mesh. But I can't find a way to do that. Any suggestions would be 
much appreciated.


Thanks in advance,
Marco
___
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:
http://public.kitware.com/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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Plot Area over Time

2015-09-21 Thread Marco Kokic

Hey there,

I simulate 2D tissue growth and use ParaView to visualize the data. I 
would like to plot the time dependence of the area of a polygonal mesh. 
But I can't find a way to do that. Any suggestions would be much 
appreciated.


Thanks in advance,
Marco
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Plot Cell ID over time

2015-09-18 Thread Moreland, Kenneth
Macro,

I'm not entirely sure what you are expecting to happen when you select a
column and as ParaView to plot it over time. ParaView will take statistics
over the id values and give you a quartile plot on that. I don't think
that is what you want. From the earlier part of your email, it sounds like
you really want to plot the number of cells over time. To do that, you
first need to compute the cell count into some sort of data structure.
Unfortunately there is no direct way to do this, but I found an old email
thread 
(http://www.paraview.org/pipermail/paraview/2008-November/010080.html)
that describes how to leverage the histogram filter to do it. Here are
some updated instructions for ParaView 4.4.

1. Run your data through the Histogram filter. Set "Bin Count" to 1. Make
"Select Input Array" point to a cell variable. Apply. The result should be
a histogram with exactly one bin.

2. View the data in the Spreadsheet view. Close all the views and then
select "Spreadsheet View" in the resulting empty view. Make sure the
Histogram filter is visible in the spreadsheet view. There should be a
single row. Select that row so that it is highlighted. (Note, this is only
necessary because issue 14978 is not implemented yet.
http://www.paraview.org/Bug/view.php?id=14978)

3. Add the Plot Selection Over Time filter. Apply.

-Ken



On 9/18/15, 7:58 AM, "ParaView on behalf of Marco Kokic"
 wrote:

>Dear paraviewers,
>
>I am analyzing 2D tissue data and I would like to count the number of
>cells over time. After I extract a polygonal mesh from my multiblock
>dataset I want to visualize the polygonal mesh statistics which show the
>number of cells at every time point. Unfortunately, I cannot find a way
>to plot the selected Cell ID column over time (see screenshot here:
>http://imgur.com/LICqYdV ). Any suggestions on how to get around this?
>
>Thanks in advance !
>
>With best regards,
>Marco
>___
>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:
>http://public.kitware.com/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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Plot Cell ID over time

2015-09-18 Thread Marco Kokic

Dear paraviewers,

I am analyzing 2D tissue data and I would like to count the number of 
cells over time. After I extract a polygonal mesh from my multiblock 
dataset I want to visualize the polygonal mesh statistics which show the 
number of cells at every time point. Unfortunately, I cannot find a way 
to plot the selected Cell ID column over time (see screenshot here: 
http://imgur.com/LICqYdV ). Any suggestions on how to get around this?


Thanks in advance !

With best regards,
Marco
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Plot Cell ID over time

2015-09-18 Thread Moreland, Kenneth
Macro,

That does seem like a better way to go about it. I think you can shorten
your steps by about half. Try these steps. The first 3 are the exact same
as you describe.

1. Edit -> Find Data.

2. Find Cells where ID is >= 0 (and any other selection criteria). "Run
Selection Query"

3. "Plot Selection Over Time." "Apply"

4. In the resulting plot view, edit the Series Parameters to turn off all
variables except "N".


-Ken





On 9/18/15, 9:52 AM, "ParaView on behalf of Marco Kokic"
 wrote:

>Hello,
>
>thanks for your answer. Unfortunately, there is no cell variable. So I
>can't point "Select Input Array" to anything useful. I found another
>difficult way though to achieve my goal: First I select the Last Frame,
>then Edit -> Find Data, there I choose "Find Cell(s) from Extract
>Block", "ID is >=0", "Block ID is 1", "Run Selection Query" and then
>"Plot Selection Over Time". If I then open the Spreadsheet View, I find
>a dataset containing (among other columns) the number of cells N and the
>Time. If I the toggle all unnecessary columns, select all entries in my
>two columns and then Filters -> Data Analysis -> Plot Data, I finally am
>close to what I wanted to visualize. If anyone knows a less laborious
>way, please let me know. Thanks in advance.
>
>Best regards,
>Marco
>___
>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:
>http://public.kitware.com/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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Plot Cell ID over time

2015-09-18 Thread Marco Kokic

Hello,

thanks for your answer. Unfortunately, there is no cell variable. So I 
can't point "Select Input Array" to anything useful. I found another 
difficult way though to achieve my goal: First I select the Last Frame, 
then Edit -> Find Data, there I choose "Find Cell(s) from Extract 
Block", "ID is >=0", "Block ID is 1", "Run Selection Query" and then 
"Plot Selection Over Time". If I then open the Spreadsheet View, I find 
a dataset containing (among other columns) the number of cells N and the 
Time. If I the toggle all unnecessary columns, select all entries in my 
two columns and then Filters -> Data Analysis -> Plot Data, I finally am 
close to what I wanted to visualize. If anyone knows a less laborious 
way, please let me know. Thanks in advance.


Best regards,
Marco
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Plot Cell ID over time

2015-09-18 Thread Marco Kokic

GREAT ! :-D  Thank you !

On 18.09.2015 17:58, Moreland, Kenneth wrote:

Macro,

That does seem like a better way to go about it. I think you can shorten
your steps by about half. Try these steps. The first 3 are the exact same
as you describe.

1. Edit -> Find Data.

2. Find Cells where ID is >= 0 (and any other selection criteria). "Run
Selection Query"

3. "Plot Selection Over Time." "Apply"

4. In the resulting plot view, edit the Series Parameters to turn off all
variables except "N".


-Ken



On 9/18/15, 9:37 AM, "Marco Kokic"  wrote:


Hello,

thanks for your answer. Unfortunately, there is no cell variable. So I
can't point "Select Input Array" to anything useful. I found another
difficult way though to achieve my goal: First I select the Last Frame,
then Edit -> Find Data, there I choose "Find Cell(s) from Extract
Block", "ID is >=0", "Block ID is 1", "Run Selection Query" and then
"Plot Selection Over Time". If I then open the Spreadsheet View, I find
a dataset containing (among other columns) the number of cells N and the
Time. If I the toggle all unnecessary columns, select all entries in my
two columns and then Filters -> Data Analysis -> Plot Data, I finally am
close to what I wanted to visualize. If anyone knows a less laborious
way, please let me know. Thanks in advance.

Best regards,
Marco

On 18.09.2015 16:51, Moreland, Kenneth wrote:

Macro,

I'm not entirely sure what you are expecting to happen when you select a
column and as ParaView to plot it over time. ParaView will take
statistics
over the id values and give you a quartile plot on that. I don't think
that is what you want. From the earlier part of your email, it sounds
like
you really want to plot the number of cells over time. To do that, you
first need to compute the cell count into some sort of data structure.
Unfortunately there is no direct way to do this, but I found an old
email
thread
(http://www.paraview.org/pipermail/paraview/2008-November/010080.html)
that describes how to leverage the histogram filter to do it. Here are
some updated instructions for ParaView 4.4.

1. Run your data through the Histogram filter. Set "Bin Count" to 1.
Make
"Select Input Array" point to a cell variable. Apply. The result should
be
a histogram with exactly one bin.

2. View the data in the Spreadsheet view. Close all the views and then
select "Spreadsheet View" in the resulting empty view. Make sure the
Histogram filter is visible in the spreadsheet view. There should be a
single row. Select that row so that it is highlighted. (Note, this is
only
necessary because issue 14978 is not implemented yet.
http://www.paraview.org/Bug/view.php?id=14978)

3. Add the Plot Selection Over Time filter. Apply.

-Ken



On 9/18/15, 7:58 AM, "ParaView on behalf of Marco Kokic"

wrote:


Dear paraviewers,

I am analyzing 2D tissue data and I would like to count the number of
cells over time. After I extract a polygonal mesh from my multiblock
dataset I want to visualize the polygonal mesh statistics which show
the
number of cells at every time point. Unfortunately, I cannot find a way
to plot the selected Cell ID column over time (see screenshot here:
http://imgur.com/LICqYdV ). Any suggestions on how to get around this?

Thanks in advance !

With best regards,
Marco
___
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:
http://public.kitware.com/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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Plot over Line source

2015-09-15 Thread no name
Hey Cory

Thanks for the tip with the array [(0,0,0)  (0,0,0),
(x,y,time),(0,0,0)...(0,0,0)] While this was easy to do, I still get a
point in Paraview at 0/0 for each time, or, if I choose to draw a line, one
that starts at 0/0 - which is kind of understandable, when looking at my
table, which is 0 everywhere but on one point. Can you give me another hint
on how to proceed? I only want PV to draw ONE point at (x,y)...

Thanks
Richard

On 13 September 2015 at 15:42, Cory Quammen 
wrote:

> Hi Richard,
>
> Please keep your replies on the list with a "reply-all". Someone else may
> have a similar question as you (or better yet, an answer) and this may come
> in handy in a future search of the list serve.
>
> I'm not sure how to annotate the position on the graph as you seek to do
> as there is no mechanism for this. You could perhaps hack this in by
> creating another column in your table where all the values are zero except
> for the time that you are showing. Setting this column to the maximum of
> your plotted y values in the row at the time you are showing would result
> in an almost vertical line showing up at the time you are displaying if
> your data samples in x are dense enough.
>
> HTH,
> Cory
>
> On Fri, Sep 11, 2015 at 10:58 AM, no name 
> wrote:
>
>> Hey Cory
>>
>> I have one more question I am trieing to solve since we started mailing
>> ... I got everything working so far using a programmable filter and I read
>> my files into a vtkTable now, but I want to read more than one information
>> and hand it to my LineChartView. At the moment I am doing:
>>
>> A = np.rec.fromarrays(switching_data_clean, dtype= {'names': ['Time', 'x',
>> 'y'], 'formats':['int','f8', 'f8']})
>>
>>
>> for name in A.dtype.names:
>>
>> array = A[name]
>>
>> output.RowData.append(array, name)
>>
>>  But I want to add a point data aswell (basically I am plotting a time 
>> dependent external field, and I want to point out where I am at the moment, 
>> so I have to be able to read one more Point in every timestep). I tried to 
>> do a new array with only that one point inside in a second Programmable 
>> Filter as vtkDATA, which didn't really work. Do you have another hint for me?
>>
>> Thanks
>>
>> Richard
>>
>>
>> On 10 September 2015 at 15:34, Cory Quammen 
>> wrote:
>>
>>> Richard,
>>>
>>> I'm glad you got it working.
>>>
>>> cory
>>>
>>> On Wed, Sep 9, 2015 at 1:45 PM, no name 
>>> wrote:
>>>
 I just managed to do this myself and I had to do it the same way again,
 redo everything by copy and paste, there seems to be a bug in here too, but
 I am not capable of reproducing it :( I just wanted to let you know.

 Thanks for your Help!

 Richard

 On 9 September 2015 at 18:20, no name 
 wrote:

> this is straight what I was looking for! Thank you SO MUCH for
> pointing out this bug to me. This drove me mad :(
>
> One last question: Line Chart != PlotOverLine, so its hard for me to
> plot x and y axis, or like in my script mx over hx, as nothing happens 
> when
> I choose to use one of my coordinates as "X-Axis Parameter" and just let
> the other one being drawn.
>
> Can't I make a real Plot over Line?
>
> Thanks again for your time!
> Richard
>
> On 9 September 2015 at 15:12, Cory Quammen 
> wrote:
>
>> Hi Richard,
>>
>> If you don't mind, let's keep the discussion on the list so that
>> others may benefit from the discussion.
>>
>> Outputting a vtkTable is the right thing to do. What I suspect is
>> happening with the first error message is that if you execute a
>> programmable source with the output set to one type of data set (e.g.,
>> vtkPolyData), there is a bug that doesn't let you switch to a different
>> type of output. As a workaround, you can create a new Programmable 
>> Source,
>> copy and paste your code from the original Programmable Source into the 
>> new
>> one, and set the output type to vtkTableData *before* you click Apply.
>>
>> To view line plots of your data, you'll need to create a Line Chart
>> View by splitting the 3D Render View. To do this, look for the icon on 
>> the
>> top right of the 3D Render View that has two vertically-oriented 
>> rectangles
>> side by side (tool tip "Split Horizontal"). In the list of views that 
>> comes
>> up, click on "Line Chart View". If your line plots are not visible right
>> away, you will need to make them visible by clicking on the eye icon next
>> to the Programmable Source. Voila, you should have a line plot.
>>
>> Hope that helps,
>> Cory
>>
>> On Wed, Sep 9, 2015 at 5:23 AM, no name 
>> wrote:
>>
>>> Hey Cory

Re: [Paraview] Plot over Line source

2015-09-15 Thread Cory Quammen
Richard,

I understand. Sorry, I don't think there is a way to do this.

Having an annotation mechanism for your use case might be something we can
do in the future, but there are currently no plans to do this that I know
of.

Best,
Cory

On Tue, Sep 15, 2015 at 7:13 AM, no name 
wrote:

> Hey Cory
>
> Thanks for the tip with the array [(0,0,0)  (0,0,0),
> (x,y,time),(0,0,0)...(0,0,0)] While this was easy to do, I still get a
> point in Paraview at 0/0 for each time, or, if I choose to draw a line, one
> that starts at 0/0 - which is kind of understandable, when looking at my
> table, which is 0 everywhere but on one point. Can you give me another hint
> on how to proceed? I only want PV to draw ONE point at (x,y)...
>
> Thanks
> Richard
>
> On 13 September 2015 at 15:42, Cory Quammen 
> wrote:
>
>> Hi Richard,
>>
>> Please keep your replies on the list with a "reply-all". Someone else may
>> have a similar question as you (or better yet, an answer) and this may come
>> in handy in a future search of the list serve.
>>
>> I'm not sure how to annotate the position on the graph as you seek to do
>> as there is no mechanism for this. You could perhaps hack this in by
>> creating another column in your table where all the values are zero except
>> for the time that you are showing. Setting this column to the maximum of
>> your plotted y values in the row at the time you are showing would result
>> in an almost vertical line showing up at the time you are displaying if
>> your data samples in x are dense enough.
>>
>> HTH,
>> Cory
>>
>> On Fri, Sep 11, 2015 at 10:58 AM, no name 
>> wrote:
>>
>>> Hey Cory
>>>
>>> I have one more question I am trieing to solve since we started mailing
>>> ... I got everything working so far using a programmable filter and I read
>>> my files into a vtkTable now, but I want to read more than one information
>>> and hand it to my LineChartView. At the moment I am doing:
>>>
>>> A = np.rec.fromarrays(switching_data_clean, dtype= {'names': ['Time', 'x
>>> ', 'y'], 'formats':['int','f8', 'f8']})
>>>
>>>
>>> for name in A.dtype.names:
>>>
>>> array = A[name]
>>>
>>> output.RowData.append(array, name)
>>>
>>>  But I want to add a point data aswell (basically I am plotting a time 
>>> dependent external field, and I want to point out where I am at the moment, 
>>> so I have to be able to read one more Point in every timestep). I tried to 
>>> do a new array with only that one point inside in a second Programmable 
>>> Filter as vtkDATA, which didn't really work. Do you have another hint for 
>>> me?
>>>
>>> Thanks
>>>
>>> Richard
>>>
>>>
>>> On 10 September 2015 at 15:34, Cory Quammen 
>>> wrote:
>>>
 Richard,

 I'm glad you got it working.

 cory

 On Wed, Sep 9, 2015 at 1:45 PM, no name 
 wrote:

> I just managed to do this myself and I had to do it the same way
> again, redo everything by copy and paste, there seems to be a bug in here
> too, but I am not capable of reproducing it :( I just wanted to let you
> know.
>
> Thanks for your Help!
>
> Richard
>
> On 9 September 2015 at 18:20, no name 
> wrote:
>
>> this is straight what I was looking for! Thank you SO MUCH for
>> pointing out this bug to me. This drove me mad :(
>>
>> One last question: Line Chart != PlotOverLine, so its hard for me to
>> plot x and y axis, or like in my script mx over hx, as nothing happens 
>> when
>> I choose to use one of my coordinates as "X-Axis Parameter" and just let
>> the other one being drawn.
>>
>> Can't I make a real Plot over Line?
>>
>> Thanks again for your time!
>> Richard
>>
>> On 9 September 2015 at 15:12, Cory Quammen 
>> wrote:
>>
>>> Hi Richard,
>>>
>>> If you don't mind, let's keep the discussion on the list so that
>>> others may benefit from the discussion.
>>>
>>> Outputting a vtkTable is the right thing to do. What I suspect is
>>> happening with the first error message is that if you execute a
>>> programmable source with the output set to one type of data set (e.g.,
>>> vtkPolyData), there is a bug that doesn't let you switch to a different
>>> type of output. As a workaround, you can create a new Programmable 
>>> Source,
>>> copy and paste your code from the original Programmable Source into the 
>>> new
>>> one, and set the output type to vtkTableData *before* you click Apply.
>>>
>>> To view line plots of your data, you'll need to create a Line Chart
>>> View by splitting the 3D Render View. To do this, look for the icon on 
>>> the
>>> top right of the 3D Render View that has two vertically-oriented 
>>> rectangles
>>> side by side (tool 

Re: [Paraview] Plot over Line source

2015-09-13 Thread Cory Quammen
Hi Richard,

Please keep your replies on the list with a "reply-all". Someone else may
have a similar question as you (or better yet, an answer) and this may come
in handy in a future search of the list serve.

I'm not sure how to annotate the position on the graph as you seek to do as
there is no mechanism for this. You could perhaps hack this in by creating
another column in your table where all the values are zero except for the
time that you are showing. Setting this column to the maximum of your
plotted y values in the row at the time you are showing would result in an
almost vertical line showing up at the time you are displaying if your data
samples in x are dense enough.

HTH,
Cory

On Fri, Sep 11, 2015 at 10:58 AM, no name 
wrote:

> Hey Cory
>
> I have one more question I am trieing to solve since we started mailing
> ... I got everything working so far using a programmable filter and I read
> my files into a vtkTable now, but I want to read more than one information
> and hand it to my LineChartView. At the moment I am doing:
>
> A = np.rec.fromarrays(switching_data_clean, dtype= {'names': ['Time', 'x',
> 'y'], 'formats':['int','f8', 'f8']})
>
>
> for name in A.dtype.names:
>
> array = A[name]
>
> output.RowData.append(array, name)
>
>  But I want to add a point data aswell (basically I am plotting a time 
> dependent external field, and I want to point out where I am at the moment, 
> so I have to be able to read one more Point in every timestep). I tried to do 
> a new array with only that one point inside in a second Programmable Filter 
> as vtkDATA, which didn't really work. Do you have another hint for me?
>
> Thanks
>
> Richard
>
>
> On 10 September 2015 at 15:34, Cory Quammen 
> wrote:
>
>> Richard,
>>
>> I'm glad you got it working.
>>
>> cory
>>
>> On Wed, Sep 9, 2015 at 1:45 PM, no name 
>> wrote:
>>
>>> I just managed to do this myself and I had to do it the same way again,
>>> redo everything by copy and paste, there seems to be a bug in here too, but
>>> I am not capable of reproducing it :( I just wanted to let you know.
>>>
>>> Thanks for your Help!
>>>
>>> Richard
>>>
>>> On 9 September 2015 at 18:20, no name 
>>> wrote:
>>>
 this is straight what I was looking for! Thank you SO MUCH for pointing
 out this bug to me. This drove me mad :(

 One last question: Line Chart != PlotOverLine, so its hard for me to
 plot x and y axis, or like in my script mx over hx, as nothing happens when
 I choose to use one of my coordinates as "X-Axis Parameter" and just let
 the other one being drawn.

 Can't I make a real Plot over Line?

 Thanks again for your time!
 Richard

 On 9 September 2015 at 15:12, Cory Quammen 
 wrote:

> Hi Richard,
>
> If you don't mind, let's keep the discussion on the list so that
> others may benefit from the discussion.
>
> Outputting a vtkTable is the right thing to do. What I suspect is
> happening with the first error message is that if you execute a
> programmable source with the output set to one type of data set (e.g.,
> vtkPolyData), there is a bug that doesn't let you switch to a different
> type of output. As a workaround, you can create a new Programmable Source,
> copy and paste your code from the original Programmable Source into the 
> new
> one, and set the output type to vtkTableData *before* you click Apply.
>
> To view line plots of your data, you'll need to create a Line Chart
> View by splitting the 3D Render View. To do this, look for the icon on the
> top right of the 3D Render View that has two vertically-oriented 
> rectangles
> side by side (tool tip "Split Horizontal"). In the list of views that 
> comes
> up, click on "Line Chart View". If your line plots are not visible right
> away, you will need to make them visible by clicking on the eye icon next
> to the Programmable Source. Voila, you should have a line plot.
>
> Hope that helps,
> Cory
>
> On Wed, Sep 9, 2015 at 5:23 AM, no name 
> wrote:
>
>> Hey Cory
>>
>> Thanks for the hint! I did some coding and I got stuck at the
>> vtkTable as Output DataSet Type.
>>
>>
>> I used -> Programmable Source and then vtkTable which gives me the
>> following error code:
>>
>> ERROR: In
>> C:\DBD\pvs-x64\paraview\src\paraview\VTK\Common\ExecutionModel\vtkDemandDrivenPipeline.cxx,
>> line 810
>>
>> vtkPVDataRepresentationPipeline (9F2FC720): Input for
>> connection index 0 on input port index 0 for algorithm
>> vtkGeometryRepresentationWithFaces(946A85F0) is of type vtkTable,
>> but a vtkDataSet is required.
>>
>>
>>
>> ERROR: In
>> 

Re: [Paraview] Plot over Line source

2015-09-10 Thread Cory Quammen
Richard,

I'm glad you got it working.

cory

On Wed, Sep 9, 2015 at 1:45 PM, no name  wrote:

> I just managed to do this myself and I had to do it the same way again,
> redo everything by copy and paste, there seems to be a bug in here too, but
> I am not capable of reproducing it :( I just wanted to let you know.
>
> Thanks for your Help!
>
> Richard
>
> On 9 September 2015 at 18:20, no name  wrote:
>
>> this is straight what I was looking for! Thank you SO MUCH for pointing
>> out this bug to me. This drove me mad :(
>>
>> One last question: Line Chart != PlotOverLine, so its hard for me to plot
>> x and y axis, or like in my script mx over hx, as nothing happens when I
>> choose to use one of my coordinates as "X-Axis Parameter" and just let the
>> other one being drawn.
>>
>> Can't I make a real Plot over Line?
>>
>> Thanks again for your time!
>> Richard
>>
>> On 9 September 2015 at 15:12, Cory Quammen 
>> wrote:
>>
>>> Hi Richard,
>>>
>>> If you don't mind, let's keep the discussion on the list so that others
>>> may benefit from the discussion.
>>>
>>> Outputting a vtkTable is the right thing to do. What I suspect is
>>> happening with the first error message is that if you execute a
>>> programmable source with the output set to one type of data set (e.g.,
>>> vtkPolyData), there is a bug that doesn't let you switch to a different
>>> type of output. As a workaround, you can create a new Programmable Source,
>>> copy and paste your code from the original Programmable Source into the new
>>> one, and set the output type to vtkTableData *before* you click Apply.
>>>
>>> To view line plots of your data, you'll need to create a Line Chart View
>>> by splitting the 3D Render View. To do this, look for the icon on the top
>>> right of the 3D Render View that has two vertically-oriented rectangles
>>> side by side (tool tip "Split Horizontal"). In the list of views that comes
>>> up, click on "Line Chart View". If your line plots are not visible right
>>> away, you will need to make them visible by clicking on the eye icon next
>>> to the Programmable Source. Voila, you should have a line plot.
>>>
>>> Hope that helps,
>>> Cory
>>>
>>> On Wed, Sep 9, 2015 at 5:23 AM, no name 
>>> wrote:
>>>
 Hey Cory

 Thanks for the hint! I did some coding and I got stuck at the vtkTable
 as Output DataSet Type.


 I used -> Programmable Source and then vtkTable which gives me the
 following error code:

 ERROR: In
 C:\DBD\pvs-x64\paraview\src\paraview\VTK\Common\ExecutionModel\vtkDemandDrivenPipeline.cxx,
 line 810

 vtkPVDataRepresentationPipeline (9F2FC720): Input for
 connection index 0 on input port index 0 for algorithm
 vtkGeometryRepresentationWithFaces(946A85F0) is of type vtkTable,
 but a vtkDataSet is required.



 ERROR: In
 C:\DBD\pvs-x64\paraview\src\paraview\VTK\Common\ExecutionModel\vtkDemandDrivenPipeline.cxx,
 line 810

 vtkPVDataRepresentationPipeline (9F2FAB00): Input for
 connection index 0 on input port index 0 for algorithm
 vtkGeometryRepresentation(4FAC3570) is of type vtkTable, but a
 vtkDataSet is required.

 for the code I am using:

 import numpy as np


 switching_log = 'C:\\Users\\raphael\\Desktop\\logs 
 auswertung\\newsims\\flat_Aex_1_E_-11\\flat_12\\switching.log'

 class DataFile(object):

 def __init__(self, filename, h_xyz, m_xyz):

 self._filename = filename

 self._h_xyz = h_xyz

 self._m_xyz = m_xyz

 def read_dat_file(self):

 data = np.genfromtxt(self._filename, delimiter='', \

 usecols=(0, self._h_xyz, self._m_xyz), unpack=True)

 return data


 log = DataFile(switching_log, 9, 13)

 data = log.read_dat_file()


 A = np.rec.fromarrays(data, dtype= {'names': ['Time', 'Hx', 'Mx'], 
 'formats':['int','f8', 'f8']})

 print A.dtype.names


 for name in A.dtype.names:

 array = A[name]

 output.RowData.append(array, name)


 Now I could use the "vtkMultiBlockSet" or "vtkPolyData" as output
 DataSet, but then I get:


 Traceback (most recent call last):

 File "", line 19, in 

 File "", line 41, in RequestData

 File "C:\Program Files (x86)\ParaView
 4.3.1\lib\paraview-4.3\site-packages\vtk\numpy_interface\dataset_adapter.py",
 line 121, in __getattr__

 return getattr(self.VTKObject, name)

 AttributeError: RowData


 Because output.rowdata needs a vtkTable. I found the vtkTable in the
  Paraview Guide in Chapter 13.2.1 "Reading a CSV" file - which is basically
 my thing, but I dont 

Re: [Paraview] Plot over Line source

2015-09-09 Thread Cory Quammen
Hi Richard,

If you don't mind, let's keep the discussion on the list so that others may
benefit from the discussion.

Outputting a vtkTable is the right thing to do. What I suspect is happening
with the first error message is that if you execute a programmable source
with the output set to one type of data set (e.g., vtkPolyData), there is a
bug that doesn't let you switch to a different type of output. As a
workaround, you can create a new Programmable Source, copy and paste your
code from the original Programmable Source into the new one, and set the
output type to vtkTableData *before* you click Apply.

To view line plots of your data, you'll need to create a Line Chart View by
splitting the 3D Render View. To do this, look for the icon on the top
right of the 3D Render View that has two vertically-oriented rectangles
side by side (tool tip "Split Horizontal"). In the list of views that comes
up, click on "Line Chart View". If your line plots are not visible right
away, you will need to make them visible by clicking on the eye icon next
to the Programmable Source. Voila, you should have a line plot.

Hope that helps,
Cory

On Wed, Sep 9, 2015 at 5:23 AM, no name  wrote:

> Hey Cory
>
> Thanks for the hint! I did some coding and I got stuck at the vtkTable as
> Output DataSet Type.
>
>
> I used -> Programmable Source and then vtkTable which gives me the
> following error code:
>
> ERROR: In
> C:\DBD\pvs-x64\paraview\src\paraview\VTK\Common\ExecutionModel\vtkDemandDrivenPipeline.cxx,
> line 810
>
> vtkPVDataRepresentationPipeline (9F2FC720): Input for connection
> index 0 on input port index 0 for algorithm
> vtkGeometryRepresentationWithFaces(946A85F0) is of type vtkTable,
> but a vtkDataSet is required.
>
>
>
> ERROR: In
> C:\DBD\pvs-x64\paraview\src\paraview\VTK\Common\ExecutionModel\vtkDemandDrivenPipeline.cxx,
> line 810
>
> vtkPVDataRepresentationPipeline (9F2FAB00): Input for connection
> index 0 on input port index 0 for algorithm
> vtkGeometryRepresentation(4FAC3570) is of type vtkTable, but a
> vtkDataSet is required.
>
> for the code I am using:
>
> import numpy as np
>
>
> switching_log = 'C:\\Users\\raphael\\Desktop\\logs 
> auswertung\\newsims\\flat_Aex_1_E_-11\\flat_12\\switching.log'
>
> class DataFile(object):
>
> def __init__(self, filename, h_xyz, m_xyz):
>
> self._filename = filename
>
> self._h_xyz = h_xyz
>
> self._m_xyz = m_xyz
>
> def read_dat_file(self):
>
> data = np.genfromtxt(self._filename, delimiter='', \
>
> usecols=(0, self._h_xyz, self._m_xyz), unpack=True)
>
> return data
>
>
> log = DataFile(switching_log, 9, 13)
>
> data = log.read_dat_file()
>
>
> A = np.rec.fromarrays(data, dtype= {'names': ['Time', 'Hx', 'Mx'], 
> 'formats':['int','f8', 'f8']})
>
> print A.dtype.names
>
>
> for name in A.dtype.names:
>
> array = A[name]
>
> output.RowData.append(array, name)
>
>
> Now I could use the "vtkMultiBlockSet" or "vtkPolyData" as output DataSet,
> but then I get:
>
>
> Traceback (most recent call last):
>
> File "", line 19, in 
>
> File "", line 41, in RequestData
>
> File "C:\Program Files (x86)\ParaView
> 4.3.1\lib\paraview-4.3\site-packages\vtk\numpy_interface\dataset_adapter.py",
> line 121, in __getattr__
>
> return getattr(self.VTKObject, name)
>
> AttributeError: RowData
>
>
> Because output.rowdata needs a vtkTable. I found the vtkTable in the
>  Paraview Guide in Chapter 13.2.1 "Reading a CSV" file - which is basically
> my thing, but I dont exactly understand where the difference between the
> example and my situation lies ...
>
>
> Thanks for your help!
>
>
> Richard
>
> On 8 September 2015 at 15:00, Cory Quammen 
> wrote:
>
>> Hi Richard,
>>
>> You won't be able to set a vtkDataArray subclass as the input to a
>> PlotOverLine filter. Instead, you should read the log files in a
>> Programmable Source, and connect the Programmable Source to the
>> PlotOverLine filter.
>>
>> See Chapter 13 of the ParaView Guide [1].
>>
>> Hope that helps,
>> Cory
>>
>> [1]
>> http://www.paraview.org/paraview-downloads/download.php?submit=Download=v4.3=data=all=TheParaViewGuide-v4.3-CC-Edition.pdf
>>
>>
>> On Tue, Sep 8, 2015 at 3:57 AM, no name 
>> wrote:
>>
>>> Hey there
>>>
>>> I have some hundred VTU files and I want to plot some data in a graph
>>> (Plot over Line - POL) next to it. The Problem is, the data from these POLs
>>> is coming from a simple log file, basically conaining only x and y values
>>> (like two np.arrays).
>>>
>>> I can transform the arrays via
>>>
>>> from vtk.util import numpy_support
>>> values = np.array((x,y))
>>> vtk_values = numpy_support.numpy_to_vtk(values, array_type=vtk.VTK_FLOAT)
>>> vtk_values.setName('values_2_show')
>>> vtk_values.setComponentName(1, 'x_value')
>>> vtk_values.setComponentName(2, 'y_value')
>>>
>>> But so far I have no success with 

[Paraview] Plot over Line source

2015-09-08 Thread no name
Hey there

I have some hundred VTU files and I want to plot some data in a graph (Plot
over Line - POL) next to it. The Problem is, the data from these POLs is
coming from a simple log file, basically conaining only x and y values
(like two np.arrays).

I can transform the arrays via

from vtk.util import numpy_support
values = np.array((x,y))
vtk_values = numpy_support.numpy_to_vtk(values, array_type=vtk.VTK_FLOAT)
vtk_values.setName('values_2_show')
vtk_values.setComponentName(1, 'x_value')
vtk_values.setComponentName(2, 'y_value')

But so far I have no success with how to change the input (source)

VTUFILE = FindSource('VTUFILE*')
plotOverLine1 = PlotOverLine(Input=VTUFILE, Source='High Resolution
Line Source')

to a simple array.

Thanks for any help!
Richard
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Plot over Line source

2015-09-08 Thread Cory Quammen
Hi Richard,

You won't be able to set a vtkDataArray subclass as the input to a
PlotOverLine filter. Instead, you should read the log files in a
Programmable Source, and connect the Programmable Source to the
PlotOverLine filter.

See Chapter 13 of the ParaView Guide [1].

Hope that helps,
Cory

[1]
http://www.paraview.org/paraview-downloads/download.php?submit=Download=v4.3=data=all=TheParaViewGuide-v4.3-CC-Edition.pdf


On Tue, Sep 8, 2015 at 3:57 AM, no name  wrote:

> Hey there
>
> I have some hundred VTU files and I want to plot some data in a graph
> (Plot over Line - POL) next to it. The Problem is, the data from these POLs
> is coming from a simple log file, basically conaining only x and y values
> (like two np.arrays).
>
> I can transform the arrays via
>
> from vtk.util import numpy_support
> values = np.array((x,y))
> vtk_values = numpy_support.numpy_to_vtk(values, array_type=vtk.VTK_FLOAT)
> vtk_values.setName('values_2_show')
> vtk_values.setComponentName(1, 'x_value')
> vtk_values.setComponentName(2, 'y_value')
>
> But so far I have no success with how to change the input (source)
>
> VTUFILE = FindSource('VTUFILE*')
> plotOverLine1 = PlotOverLine(Input=VTUFILE, Source='High Resolution Line 
> Source')
>
> to a simple array.
>
> Thanks for any help!
> Richard
>
> ___
> 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:
> http://public.kitware.com/mailman/listinfo/paraview
>
>


-- 
Cory Quammen
R Engineer
Kitware, Inc.
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Plot cumulative integral over time of a variable

2015-07-15 Thread Andy Bauer
Hi Alan,

For #2, a hacky way would be to use the temporal statistics to get the
average value and then multiply that by the number of time steps. The only
other way I can think of is by using a Python Programmable Filter to
integrate the values over time. The Python Programmable Filter recently was
changed to have access to the pipeline executive so that you can have it
iterate over time steps.

Attached is a state file which I used to iterate over time steps in a
programmable filter. It's not working with PV 4.3.1 but it may help give
you some guidance on how to do it. If it's overly confusing  (which it very
well could be -- I'm too lazy to look at it closely right now) let me know
and I can see if I can update it to work with the latest version of PV.

Best,
Andy

On Tue, Jul 14, 2015 at 7:22 PM, Scott, W Alan wasc...@sandia.gov wrote:

  Question from a user:

 I would like to use paraview to do the following:

 1)  Integrate a nodal variable over a volume (IntegrateVariables
 filter does this)

 2)  Then, integrate the result of the volume integral over time
 (cumulative integral)

 The IntegrateVariables filter works just fine to integrate over the
 volume, and I can plot the results of it over time by selecting RowData
 from the PlotSelectionOverTime filter.  I just can't figure out how to do
 #2 - integrate these results over time with something like numpy.trapz or
 scipy.integrate.cumtrapz.

 I feel like this has probably been asked a million times, but I still seem
 to have trouble with it.  I think I usually fall back to other post
 processing tools.  Can this be done all in Paraview?



 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

 Search the list archives at: http://markmail.org/search/?q=ParaView

 Follow this link to subscribe/unsubscribe:
 http://public.kitware.com/mailman/listinfo/paraview




programmablefilteriterateovertime.pvsm
Description: Binary data
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Plot cumulative integral over time of a variable

2015-07-15 Thread Utkarsh Ayachit
Alan,

Attached is a state file (using can.ex2) which indeed uses numpy.trapz() to
do the work. It needs a small patch to be applied to VTK (attached) to
avoid a segfault.

The Programmable Filter adds a new row-data array named trapz which is
the result of the operation (it's repeated so we can add it to RowData
rather than field data.

Utkarsh

On Tue, Jul 14, 2015 at 7:23 PM Scott, W Alan wasc...@sandia.gov wrote:

  Question from a user:

 I would like to use paraview to do the following:

 1)  Integrate a nodal variable over a volume (IntegrateVariables
 filter does this)

 2)  Then, integrate the result of the volume integral over time
 (cumulative integral)

 The IntegrateVariables filter works just fine to integrate over the
 volume, and I can plot the results of it over time by selecting RowData
 from the PlotSelectionOverTime filter.  I just can't figure out how to do
 #2 - integrate these results over time with something like numpy.trapz or
 scipy.integrate.cumtrapz.

 I feel like this has probably been asked a million times, but I still seem
 to have trouble with it.  I think I usually fall back to other post
 processing tools.  Can this be done all in Paraview?



 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

 Search the list archives at: http://markmail.org/search/?q=ParaView

 Follow this link to subscribe/unsubscribe:
 http://public.kitware.com/mailman/listinfo/paraview

diff --git a/Filters/Programmable/vtkProgrammableFilter.cxx b/Filters/Programmable/vtkProgrammableFilter.cxx
index 3236dfc..25ef83c 100644
--- a/Filters/Programmable/vtkProgrammableFilter.cxx
+++ b/Filters/Programmable/vtkProgrammableFilter.cxx
@@ -202,8 +202,8 @@ int vtkProgrammableFilter::RequestData(
 vtkCompositeDataIterator* iter = cdsInput-NewIterator();
 for(iter-InitTraversal(); !iter-IsDoneWithTraversal(); iter-GoToNextItem())
   {
-  vtkDataSet* iblock = vtkDataSet::SafeDownCast(iter-GetCurrentDataObject());
-  vtkDataSet* oblock = iblock-NewInstance();
+  vtkDataObject* iblock = iter-GetCurrentDataObject();
+  vtkDataObject* oblock = iblock-NewInstance();
   if (iblock)
 {
 if (this-CopyArrays)
@@ -212,7 +212,12 @@ int vtkProgrammableFilter::RequestData(
   }
 else
   {
-  oblock-CopyStructure( iblock );
+  vtkDataSet* iblockDS = vtkDataSet::SafeDownCast(iblock);
+  vtkDataSet* oblockDS = vtkDataSet::SafeDownCast(oblock);
+  if (iblockDS  oblockDS)
+{
+oblockDS-CopyStructure(iblockDS);
+}
   }
 }
   cdsOutput-SetDataSet(iter, oblock);


trapz.pvsm
Description: Binary data
___
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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Plot cumulative integral over time of a variable

2015-07-14 Thread Scott, W Alan
Question from a user:

I would like to use paraview to do the following:

1)  Integrate a nodal variable over a volume (IntegrateVariables filter 
does this)

2)  Then, integrate the result of the volume integral over time (cumulative 
integral)

The IntegrateVariables filter works just fine to integrate over the volume, 
and I can plot the results of it over time by selecting RowData from the 
PlotSelectionOverTime filter.  I just can't figure out how to do #2 - 
integrate these results over time with something like numpy.trapz or 
scipy.integrate.cumtrapz.

I feel like this has probably been asked a million times, but I still seem to 
have trouble with it.  I think I usually fall back to other post processing 
tools.  Can this be done all in Paraview?



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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] plot contour in ParaView

2015-04-08 Thread Utkarsh Ayachit
I am correct that your dataset is just a point-cloud or am I missing
something? If it is a point cloud, how are you contouring it, in the
first place? The contour filter cannot be applied to a point cloud.

Utkarsh



On Tue, Apr 7, 2015 at 4:35 PM, Yifei ym...@gatech.edu wrote:
 Please find the dataset in the attachment.

 Thanks,
 Yifei




 On Apr 7, 2015, at 4:28 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com 
 wrote:

 If you can share a sample dataset to illustrate the problem, it may help.

 Utkarsh

 On Tue, Apr 7, 2015 at 4:13 PM, Yifei ym...@gatech.edu wrote:
 Hi,

 I just double checked. I did check the Compute Scalars option.

 Best,
 Yifei

 On Apr 7, 2015, at 3:44 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com 
 wrote:

 How can I use damage or velocity as the coloring options?

 Make sure you have Compute Scalars option checked on the
 Properties panel for the Contour filter.

 Utkarsh



___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] plot contour in ParaView

2015-04-08 Thread Yifei
It is point cloud. What data type could the contour filter apply to? Is it 
possible to convert dump files from LAMMPS to this type of data?

Thanks for your kindly help.
Yifei

 On Apr 8, 2015, at 10:50 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com 
 wrote:
 
 I am correct that your dataset is just a point-cloud or am I missing
 something? If it is a point cloud, how are you contouring it, in the
 first place? The contour filter cannot be applied to a point cloud.
 
 Utkarsh
 
 
 
 On Tue, Apr 7, 2015 at 4:35 PM, Yifei ym...@gatech.edu wrote:
 Please find the dataset in the attachment.
 
 Thanks,
 Yifei
 
 
 
 
 On Apr 7, 2015, at 4:28 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com 
 wrote:
 
 If you can share a sample dataset to illustrate the problem, it may help.
 
 Utkarsh
 
 On Tue, Apr 7, 2015 at 4:13 PM, Yifei ym...@gatech.edu wrote:
 Hi,
 
 I just double checked. I did check the Compute Scalars option.
 
 Best,
 Yifei
 
 On Apr 7, 2015, at 3:44 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com 
 wrote:
 
 How can I use damage or velocity as the coloring options?
 
 Make sure you have Compute Scalars option checked on the
 Properties panel for the Contour filter.
 
 Utkarsh
 
 
 

___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] plot contour in ParaView

2015-04-08 Thread Yifei
Thanks for your reply. My goal is to plot stress contour for my simulation 
results. It seems to me that when I use pizza.py to convert dump file from 
LAMMPS into other file types, the data is always point data (coordinate and 
value at a point). So I wonder if I could convert the dump file into certain 
file types ParaView could use to plot contours?

As far as I know, in MATLAB I could use griddata function to interpolate 
scattered data (point data in 2D). Then use contourf function to generate 
contours. I wonder if ParaView provides similar functions like griddata to 
convert the input data, then apply the contour filter?

Thanks,
Yifei




 On Apr 8, 2015, at 1:57 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com 
 wrote:
 
 Yifei,
 
 Contouring as an operation doesn't make much sense for point clouds.
 The question would be what is your end goal? What information do you
 want to extract from the point could? Maybe I can suggestion
 alternative operations that can help you achieve that.
 
 Utkarsh
 
 On Wed, Apr 8, 2015 at 1:52 PM, Yifei ym...@gatech.edu wrote:
 It is point cloud. What data type could the contour filter apply to? Is it 
 possible to convert dump files from LAMMPS to this type of data?
 
 Thanks for your kindly help.
 Yifei
 
 On Apr 8, 2015, at 10:50 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com 
 wrote:
 
 I am correct that your dataset is just a point-cloud or am I missing
 something? If it is a point cloud, how are you contouring it, in the
 first place? The contour filter cannot be applied to a point cloud.
 
 Utkarsh
 
 
 
 On Tue, Apr 7, 2015 at 4:35 PM, Yifei ym...@gatech.edu wrote:
 Please find the dataset in the attachment.
 
 Thanks,
 Yifei
 
 
 
 
 On Apr 7, 2015, at 4:28 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com 
 wrote:
 
 If you can share a sample dataset to illustrate the problem, it may help.
 
 Utkarsh
 
 On Tue, Apr 7, 2015 at 4:13 PM, Yifei ym...@gatech.edu wrote:
 Hi,
 
 I just double checked. I did check the Compute Scalars option.
 
 Best,
 Yifei
 
 On Apr 7, 2015, at 3:44 PM, Utkarsh Ayachit 
 utkarsh.ayac...@kitware.com wrote:
 
 How can I use damage or velocity as the coloring options?
 
 Make sure you have Compute Scalars option checked on the
 Properties panel for the Contour filter.
 
 Utkarsh
 
 
 
 

___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] plot contour in ParaView

2015-04-08 Thread Utkarsh Ayachit
Yifei,

Contouring as an operation doesn't make much sense for point clouds.
The question would be what is your end goal? What information do you
want to extract from the point could? Maybe I can suggestion
alternative operations that can help you achieve that.

Utkarsh

On Wed, Apr 8, 2015 at 1:52 PM, Yifei ym...@gatech.edu wrote:
 It is point cloud. What data type could the contour filter apply to? Is it 
 possible to convert dump files from LAMMPS to this type of data?

 Thanks for your kindly help.
 Yifei

 On Apr 8, 2015, at 10:50 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com 
 wrote:

 I am correct that your dataset is just a point-cloud or am I missing
 something? If it is a point cloud, how are you contouring it, in the
 first place? The contour filter cannot be applied to a point cloud.

 Utkarsh



 On Tue, Apr 7, 2015 at 4:35 PM, Yifei ym...@gatech.edu wrote:
 Please find the dataset in the attachment.

 Thanks,
 Yifei




 On Apr 7, 2015, at 4:28 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com 
 wrote:

 If you can share a sample dataset to illustrate the problem, it may help.

 Utkarsh

 On Tue, Apr 7, 2015 at 4:13 PM, Yifei ym...@gatech.edu wrote:
 Hi,

 I just double checked. I did check the Compute Scalars option.

 Best,
 Yifei

 On Apr 7, 2015, at 3:44 PM, Utkarsh Ayachit 
 utkarsh.ayac...@kitware.com wrote:

 How can I use damage or velocity as the coloring options?

 Make sure you have Compute Scalars option checked on the
 Properties panel for the Contour filter.

 Utkarsh




___
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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] plot contour in ParaView

2015-04-07 Thread Yifei
Hi,

I am trying to post-processing my simulation results from LAMMPS using 
ParaView. I first converted dump file into ensight file format using pizza.py. 
The script is attached behind. 

import sys
from dump import dump
from ensight import ensight
d=dump(dump.peri);
d.map(1,id,2,type,3,x,4,y,5,z,6,damage,7,vx,8,vy,9,vz);
e=ensight(d);
e.one(disk,damage,Damage,y,Position_y,x,Position_x,z,Postion_z,vy,VY,vx,VX,vz,VZ”)

Then, I imported the .case file into ParaView. Now I have the coordinate, 
damage scalar, and velocity components for each point. I wonder how can I use 
the Contour filter in ParaView to plot contours? When I try to do that, I got 
only one coloring option called Solid Color. How can I use damage or velocity 
as the coloring options?

Thanks,
Yifei
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] plot contour in ParaView

2015-04-07 Thread Yifei
Hi, 

I just double checked. I did check the Compute Scalars option. 

Best,
Yifei

 On Apr 7, 2015, at 3:44 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com 
 wrote:
 
 How can I use damage or velocity as the coloring options?
 
 Make sure you have Compute Scalars option checked on the
 Properties panel for the Contour filter.
 
 Utkarsh

___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] plot contour in ParaView

2015-04-07 Thread Utkarsh Ayachit
If you can share a sample dataset to illustrate the problem, it may help.

Utkarsh

On Tue, Apr 7, 2015 at 4:13 PM, Yifei ym...@gatech.edu wrote:
 Hi,

 I just double checked. I did check the Compute Scalars option.

 Best,
 Yifei

 On Apr 7, 2015, at 3:44 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com 
 wrote:

 How can I use damage or velocity as the coloring options?

 Make sure you have Compute Scalars option checked on the
 Properties panel for the Contour filter.

 Utkarsh

___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] plot contour in ParaView

2015-04-07 Thread Utkarsh Ayachit
  How can I use damage or velocity as the coloring options?

Make sure you have Compute Scalars option checked on the
Properties panel for the Contour filter.

Utkarsh
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Plot 3D Function names

2015-04-03 Thread Berk Geveci
Unfortunately, there is not a super easy way to rename an array. You have
to use the Programmable Filter with something like this:

from vtk.numpy_interface import dataset_adapter as dsa
itr = dsa.MultiCompositeDataIterator([inputs[0], output])
for inp, opt in itr:
opt.PointData.append(inp.PointData['function1'], my function)

Best,
-berk



On Thu, Apr 2, 2015 at 12:21 PM, Robertson, Andrew 
andrew.robert...@orbitalatk.com wrote:

  Folks,

 I am new to paraview and while I am making some progress with the tool, I
 have not been able to figure out a few things….

 I get a lot of data in plot3D format.

 The data in question is in the “function” file

 Paraview simply sees these as function1, function2 etc

 Is there someplace I can actually specify text for those?

 Thanks

 -Andy





 Andrew Robertson P.E.

 CFD Analyst



 GASL Operations

 Tactical Propulsion and Controls

 ATK

 77 Raynor Avenue

 Ronkokoma NY 11779



 Phone:  631-676-8955 631-737-6100%20Ext%20190  - *NOTE NEW Number*

 Fax:  631-588-7023

 www.atk.com



  !! Knowledge and Thoroughness Baby !!

Happiness is conserving mass



 --
 Notice: This e-mail is intended solely for use of the individual or entity
 to which it is addressed and may contain information that is proprietary,
 privileged and exempt from disclosure under applicable law. If the reader
 is not the intended recipient or agent responsible for delivering the
 message to the intended recipient, you are hereby notified that any
 dissemination, distribution or copying of this communication is strictly
 prohibited. This communication may also contain data subject to U.S. export
 laws. If so, that data subject to the International Traffic in Arms
 Regulation cannot be disseminated, distributed or copied to foreign
 nationals, residing in the U.S. or abroad, absent the express prior
 approval of the U.S. Department of State. If you have received this
 communication in error, please notify the sender by reply e-mail and
 destroy the e-mail message and any physical copies made of the
 communication. Thank you.
 ** **

 ___
 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:
 http://public.kitware.com/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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Plot 3D Function names

2015-04-02 Thread Robertson, Andrew
Folks,
I am new to paraview and while I am making some progress with the tool, I have 
not been able to figure out a few things
I get a lot of data in plot3D format.
The data in question is in the function file
Paraview simply sees these as function1, function2 etc
Is there someplace I can actually specify text for those?
Thanks
-Andy


Andrew Robertson P.E.
CFD Analyst

GASL Operations
Tactical Propulsion and Controls
ATK
77 Raynor Avenue
Ronkokoma NY 11779

Phone:  631-676-8955tel:631-737-6100%20Ext%20190  - NOTE NEW Number
Fax:  631-588-7023tel:631-588-7023
www.atk.comhttp://www.atk.com/

 !! Knowledge and Thoroughness Baby !!
   Happiness is conserving mass



--

Notice: This e-mail is intended solely for use of the individual or entity to 
which it is addressed and may contain information that is proprietary, 
privileged and exempt from disclosure under applicable law. If the reader is 
not the intended recipient or agent responsible for delivering the message to 
the intended recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited. This 
communication may also contain data subject to U.S. export laws. If so, that 
data subject to the International Traffic in Arms Regulation cannot be 
disseminated, distributed or copied to foreign nationals, residing in the U.S. 
or abroad, absent the express prior approval of the U.S. Department of State. 
If you have received this communication in error, please notify the sender by 
reply e-mail and destroy the e-mail message and any physical copies made of the 
communication. Thank you. 
** **
___
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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Plot calculator result over time

2015-02-26 Thread Dalla Piazza Thomas

Hi all,
I have a simple problem that is easy to reproduce. My objective is to 
produce a plot of average temperature of a volume over time (simple heat 
diffusion case). I'll take a straight forward example based on 
laplacianfoam OpenFOAM case.


1) Run the case
2) Run Paraview and load the data for internalMesh region
3) select filter Integrate variables that produce integrated 
temperature over the entire volume (Tv in the following) and integrated 
volume over volume being the total region volume (Volume in the following)

4) select filter Calculator
5) based on cell data, compute averaged temperature of the volume 
Tv/Volume (both results of integration filter)

6) select calculator result and choose filter Plot selection over time

Problem: Up to the calculator, everything looks fine. Integrated volume 
is not changing over time, itegrated temperature is growing normally as 
well as averaged temperature... But in the spreadsheet view of Plot 
selection over time, only the initial value at T=0 is right, for the 
next time steps, volume is changing like randomly and averaged 
temperature is completely messed up...


Is it a bug of PlotSelectionOverTime filter or did I made a mistake in 
my procedure?


Thanks for any help,

 Thomas

--
___
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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Plot over intersection curves

2014-12-12 Thread Scott, W Alan
What does the plot over intersection curves plot do?  Plot the boundary around 
the slice where a plane intersects a dataset?  OK, Next, what does the Sphere 
slice type do?

An example is Sources/ Wavelet, Apply.  Plot over intersection curves.  Slice 
type Sphere.  Radius 12.  Apply.  What does this represent?

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://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Plot point variable over time

2014-08-11 Thread Utkarsh Ayachit
Rakesh,

The dataset you included doesn't have any timesteps. Nor I do I see
any variable named displacement. The only variables available are
uvw. To plot over time, you select the cells or point that you want
plot over time and the create the Plot Over Time filter. That would
show you a plot of the attributes for the selected elements over time.

Utkarsh

On Thu, Aug 7, 2014 at 12:50 AM, Rakesh Dhote
rpd.toastmast...@gmail.com wrote:
 Hi,


 I have a quick question.
 How to plot a point variable over time?

 It seems the procedure mentioned in the following mailing list refer to the
 previous version of the Paraview.
 http://www.paraview.org/pipermail/paraview/2012-November/026633.html

 Thank you for your help in advance.

 Warm regards,
 Rakesh

 ___
 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://public.kitware.com/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://public.kitware.com/mailman/listinfo/paraview


[Paraview] Plot point variable over time

2014-08-06 Thread Rakesh Dhote
Hi,

I have a quick question.
How to plot a point variable over time?

It seems the procedure mentioned in the following mailing list refer to the
previous version of the Paraview.
http://www.paraview.org/pipermail/paraview/2012-November/026633.html

Thank you for your help in advance.

Warm regards,
Rakesh
___
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://public.kitware.com/mailman/listinfo/paraview


[Paraview] Plot smooth particle data

2014-05-04 Thread Timothy Charles Fagan
Dear Paraview Community,

I have a set of particle data (.vtk polydata) that I would like to use for
a plot over a line. However I get a choppy line at best, and often very
large gaps in data.

I have tried applying the a 2D glyph and that works better, but is still
choppy. Also the Plot Data to Cell Data filter doesn't seem to help, though
I assume having cell data would create a smooth line.

I can get a better curve using the extract selection and plot data
function, but this becomes too dependent on how I select the data and I
can't do it with much accuracy.

Thanks,
Tim
___
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 2D contour with dashed lines

2014-04-15 Thread amin2004s

Xujun Zhao xzhao99 at gmail.com writes:

 
 
 Hi all,
 I have a 2D function f(x,y), and want to make a 2D contour plot with 
dashed lines. But I didn't find any options that I can change the line 
types, although I can change colors, line width and others. Can anyone help 
me figure it out? Thank you.
 
 XZ
 
 
 divdiv dir=ltr
 spanHi all,/spandivbr/div
 divI have a 2D function f(x,y), and want to make a 2D contour plot with 
dashed lines. But I didn't find any options that I can change the line 
types, although I can change colors, line width and others. Can anyone help 
me figure it out? Thank you./div
 divbr/div
 divXZ/div
 /div/div
 


Hi,

I have exactly the same problem. Have you come up with any solution?
I would appreciate that!



___
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 2D contour with dashed lines

2014-04-09 Thread Xujun Zhao
Hi all,

I have a 2D function f(x,y), and want to make a 2D contour plot with dashed
lines. But I didn't find any options that I can change the line types,
although I can change colors, line width and others. Can anyone help me
figure it out? Thank you.

XZ
___
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 overline: specify points coordinates in different reference frame

2014-03-19 Thread Francois Beaubert
Hi all, 

I would like to use the Plot Overline filter but be able to specify the Point1 
and Point2 coordinates in a different reference frame (not cartesian). 

Obviously it's not possible to do this in the GUI, but is it possible to obtain 
such feature with a programmable filter ? 

I'm looking for a way to specify the 2 points coordinates in a cylindrical 
reference frame with (r,theta,z) defined as: 
r = sqrt(coordsX^2+coordsY^2) 
theta = atan(coordsY/coordsX) 
z = coordsZ 

My knowledge in python scripting for Paraview is nonexistent but I've tried to 
build a minimalist Programmable filter to just mimic the Plot Overline filter 
but was not able to make it work (see below). 

1. First step for me is to be able to build a Programmable filter that can do 
the same task as the Plot Overline filter. 
2. The next one will be to specify the (x,y,z) coordinates of the 2 points of 
the line given two (r,theta,z) cylindrical coordinates with: 
x = r*cos(theta) 
y = r*sin(theta) 

Any help will be warmly welcome :) 
Thank you very much. 

Francois 

 Programmable filter start here - 

from paraview.simple import Show 
from paraview.simple import PlotOverLine 
from paraview.simple import GetActiveSource 
from paraview.simple import CreateXYPlotView 


data = GetActiveSource() 


PlotOverLine1 = PlotOverLine( Source=High Resolution Line Source ) 


PlotOverLine1.Source.Point1 = [0.0, 0.0, 0.0] 
PlotOverLine1.Source.Point2 = [0.0, 0.1, 0.0] 

XYChartView1 = CreateXYPlotView() 


DataRepresentation1 = Show() 
DataRepresentation1.XArrayName = 'arc_length' 
DataRepresentation1.SeriesVisibility = ['Velocity (2)', '1'] 
DataRepresentation1.UseIndexForXAxis = 0 


 Programmable filter stop here - 
___
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 maximum over time

2014-03-11 Thread Scott, W Alan
Is there a paraview filter or other tool to plot a variable maximum over 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 HDF5 with time using XDMF

2014-01-15 Thread Jason Fleming
Hello Ramiz

I believe you need to create a GridCollection, and set the CollectionType
Attribute to Temporal. Then give each Grid in the Collection the
appropriate Time attribute. I've attached the output from one of the
example programs included in the XDMF2 repository that illustrates this.

Cheers
Jason


On Tue, Jan 14, 2014 at 9:21 AM, ramiz.azadali...@ipt.fraunhofer.de wrote:

 Hello everyone,

  I am new to ParaView, and so far I was able to use it without much
 trouble.
 But I have hit a dead end, I have looked online for example, but
 unfortunately it did not help me.
 I have managed to create XMF file that gives me a 3d plot, but I can't
 figure out how to couple the time data with the coordinates.

 MY GOAL IS TO BE ABLE TO PLOT THE DATA CHRONOLOGICALLY

 the HDF5 file has 3 datasets for X Y Z, 1 for amplitude, and 1 for time.
 All are of the same hierarchy.

 Use the following code:
 ?xml version=1.0 ?
 !DOCTYPE Xdmf SYSTEM Xdmf.dtd []
 Xdmf Version=2.0
  Domain

 Grid Name=mesh3 GridType=Uniform 
  Topology TopologyType=Polyvertex Dimensions=4 /
  Geometry GeometryType=X_Y_Z

DataItem Dimensions=1 1 4 NumberType=Float
 Precision=4 Format=HDF
 test3.h5:/X
/DataItem

DataItem Dimensions=1 1 4 NumberType=Float
 Precision=4 Format=HDF
test3.h5:/Y
/DataItem

  DataItem Dimensions=1 1 4 NumberType=Float
 Precision=4 Format=HDF
test3.h5:/Z
/DataItem
  /Geometry

  Attribute Name=Pressure AttributeType=Scalar
 Center=Node
DataItem Dimensions=1 1 4 NumberType=Float
 Precision=4 Format=HDF
 test3.h5:/MVSPCIe/Pressure
/DataItem
  /Attribute
 Time TimeType=List
  DataItem Dimensions=4 NumberType=Float Precision=4
 Format=XML
test3.h5:/time
 /DataItem
   /Time

  /Grid
  /Domain
 /Xdmf

 Where and how should I put my time data in this schema for Paraview to be
 able to see it?
 Does anybody have an idea? Please help...


 Have a nice day,
 Ramiz


 Does anybody have an idea  __

 Fraunhofer-Institut für Produktionstechnologie IPT
 Ramiz Azadaliyev

 Steinbachstraße 17
 52074 Aachen

 ramiz.azadali...@ipt.fraunhofer.de
 http://www.ipt.fraunhofer.de
 __

 ___
 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




-- 
Dr. Jason G. Fleming
Chief Engineer, Seahorse Coastal Consulting
3103 Mandy Ln
Morehead City, NC 28557
Tel: (252) 726-6323
Mobile: (252) 269-0962
Web: http://www.seahorsecoastal.com


my_output.xmf
Description: audio/xmf
___
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 HDF5 with time using XDMF

2014-01-14 Thread ramiz . azadaliyev
Hello everyone, 

 I am new to ParaView, and so far I was able to use it without much 
trouble. 
But I have hit a dead end, I have looked online for example, but 
unfortunately it did not help me.
I have managed to create XMF file that gives me a 3d plot, but I can't 
figure out how to couple the time data with the coordinates. 

MY GOAL IS TO BE ABLE TO PLOT THE DATA CHRONOLOGICALLY

the HDF5 file has 3 datasets for X Y Z, 1 for amplitude, and 1 for time. 
All are of the same hierarchy. 

Use the following code: 
?xml version=1.0 ?
!DOCTYPE Xdmf SYSTEM Xdmf.dtd []
Xdmf Version=2.0
 Domain
 
Grid Name=mesh3 GridType=Uniform 
 Topology TopologyType=Polyvertex Dimensions=4 /
 Geometry GeometryType=X_Y_Z

   DataItem Dimensions=1 1 4 NumberType=Float 
Precision=4 Format=HDF
test3.h5:/X
   /DataItem

   DataItem Dimensions=1 1 4 NumberType=Float 
Precision=4 Format=HDF
   test3.h5:/Y
   /DataItem

 DataItem Dimensions=1 1 4 NumberType=Float 
Precision=4 Format=HDF
   test3.h5:/Z
   /DataItem
 /Geometry

 Attribute Name=Pressure AttributeType=Scalar 
Center=Node
   DataItem Dimensions=1 1 4 NumberType=Float 
Precision=4 Format=HDF
test3.h5:/MVSPCIe/Pressure
   /DataItem
 /Attribute
Time TimeType=List
 DataItem Dimensions=4 NumberType=Float Precision=4 
Format=XML
 test3.h5:/time
/DataItem
  /Time 

 /Grid
 /Domain
/Xdmf

Where and how should I put my time data in this schema for Paraview to be 
able to see it?
Does anybody have an idea? Please help...


Have a nice day, 
Ramiz


Does anybody have an idea 
__

Fraunhofer-Institut für Produktionstechnologie IPT
Ramiz Azadaliyev 

Steinbachstraße 17
52074 Aachen

ramiz.azadali...@ipt.fraunhofer.de
http://www.ipt.fraunhofer.de
__



___
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 2D integral of 3D scalar field

2013-11-04 Thread korolkovas
 Hello,
I can't seem to figure out whether this is possible with Paraview... My
data consists of a scalar field localized in one region of space,
representing a density. I want to compute and plot the 2D integral of
this density to obtain in the form of a curve, i.e. the density along
the z-axis would be:
int2d [rho(x,y,z) dx dy]
Also, can I compute the moments of my distribution, for instance Rx^2 =
int3d (rho*x^2) ?
Thanks,
Airidas 
 ___
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 over line

2013-10-02 Thread Colin McAuliffe
Hello all, I would like to use a plot over line filter where the line  
is defined by two nodes on the mesh, which move in time, rather than  
defining the line with two fixed spacial points. Is it possible to do  
this with the POL filter as is, or will this require some extra  
scripting?


Thanks
Colin




--
Colin McAuliffe
PhD Candidate
Columbia University
Department of Civil Engineering and Engineering Mechanics

___
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 over line

2013-10-02 Thread Samuel Key

Colin,

A not necessarily straight forward way is to use the Warp filter to 
remove the mesh motion (assumes you have the displacement vector as a 
point value in your datum set). Then the POL Filter end-points remain 
fixed with respect to the two nodes over which you initially placed the 
end-points.


However, implicit in this approach is that the POL Filter's line is a 
material line and deforms with the material, probably not remaining a 
straight line as the time (or loading) progresses. It may or may not be 
the result for which you are looking?


Samuel Key
FMA Development, LLC


On 10/2/2013 6:03 PM, Colin McAuliffe wrote:
Hello all, I would like to use a plot over line filter where the line 
is defined by two nodes on the mesh, which move in time, rather than 
defining the line with two fixed spacial points. Is it possible to do 
this with the POL filter as is, or will this require some extra 
scripting?


Thanks
Colin






___
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 over line

2013-10-02 Thread Colin McAuliffe
Hi Samuel, thanks for the response. My line is on a boundary which  
remains a strait line so there is no worry of the line becoming  
curved. My data set contains mesh node points which are fixed in time,  
along with the nodal displacements which give the deformed  
configuration when the warp filter is applied. I can do what you  
describe but this will give me the POL of the undeformed  
configuration. What I want to do here is get a plot over line on the  
warped mesh, since I need to compute an integral along the warped edge.


Thanks
Colin

Quoting Samuel Key samuel...@bresnan.net:


Colin,

A not necessarily straight forward way is to use the Warp filter to
remove the mesh motion (assumes you have the displacement vector as a
point value in your datum set). Then the POL Filter end-points remain
fixed with respect to the two nodes over which you initially placed the
end-points.

However, implicit in this approach is that the POL Filter's line is a
material line and deforms with the material, probably not remaining a
straight line as the time (or loading) progresses. It may or may not be
the result for which you are looking?

Samuel Key
FMA Development, LLC


On 10/2/2013 6:03 PM, Colin McAuliffe wrote:
Hello all, I would like to use a plot over line filter where the   
line is defined by two nodes on the mesh, which move in time,   
rather than defining the line with two fixed spacial points. Is it   
possible to do this with the POL filter as is, or will this require  
 some extra scripting?


Thanks
Colin






___
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




--
Colin McAuliffe
PhD Candidate
Columbia University
Department of Civil Engineering and Engineering Mechanics

___
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

2013-04-08 Thread Hedieh Ebrahimi
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


[Paraview] Plot over line, averaged over time.

2013-03-20 Thread Scott, W Alan
Utkarsh,
Any idea how to do this?

Thanks,

Alan




I have a 3D dataset with 500 time planes.  I want to use Plot Over Line to show 
a variable but averaged over, say, the last 100 time planes.  Is this possible?

Thanks,
Matt


___
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 over line, averaged over time.

2013-03-20 Thread Utkarsh Ayachit
Temporal Statistics -- Plot Over Line should do the trick,
however, for the entire 500 timesteps. We don't have an easy mechanism
to limit it to last 100 timesteps. However, it's just a matter of
writing a filter to do that (similar to Temporal Shift Scale).

Utkarsh

On Wed, Mar 20, 2013 at 1:12 PM, Scott, W Alan wasc...@sandia.gov wrote:
 Utkarsh,
 Any idea how to do this?

 Thanks,

 Alan




 I have a 3D dataset with 500 time planes.  I want to use Plot Over Line to 
 show a variable but averaged over, say, the last 100 time planes.  Is this 
 possible?

 Thanks,
 Matt


___
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 integrals over time

2013-01-11 Thread Utkarsh Ayachit
Sure:
1. Apply Integrate Variables. Select the single cell (or point) from
the spreadsheet view showing the selection
2. Now apply Plot Selection Over Time


On Thu, Jan 10, 2013 at 6:47 PM, Scott, W Alan wasc...@sandia.gov wrote:
 Is it possible to get the integral of a variable over a dataset, and then
 plot this integral value over 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 integrals over time

2013-01-10 Thread Scott, W Alan
Is it possible to get the integral of a variable over a dataset, and then plot 
this integral value over 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 probe value over time

2012-11-13 Thread Zenker, Dr. Matthias
Hi Utkarsh,

I'm afraid I don't understand what you mean. The string select points does 
not figure in the User's Guide. AFAIK I can select a point only if it is a 
node. But I would like to probe the temperature at a point which is located 
between nodes, so I need to interpolate. The interpolated temperature should be 
plotted over time.
So my question: How do I do that?

Thank you for a further explanation,

Matthias



Von: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
Gesendet: Dienstag, 13. November 2012 00:47
An: Zenker, Dr. Matthias
Cc: paraview@paraview.org
Betreff: Re: [Paraview] Plot probe value over time

Matthias,

Couldn't you create a point selection (either 'Select Points On' or 'Select 
Points Through') for the probed point itself and then do Extract Selection 
Over Time?

Utkarsh

On Mon, Nov 12, 2012 at 2:36 AM, Zenker, Dr. Matthias 
matthias.zen...@erbe-med.commailto:matthias.zen...@erbe-med.com wrote:
Hi,

I would like to plot a value (say, the temperature) at a specific point 
(coordinates) over time. If there is a node at that point, I can use the Plot 
Selection over Time Filter. If not, it should be possible to use interpolation. 
I can use the Probe Location Filter to define a point by its coordinates. But 
how do I plot the temperature over time at that point? I didn't manage to do 
that so far, and would be grateful for a helpful hint.

Thanks,

Matthias




_
ERBE Elektromedizin GmbH
Firmensitz: 72072 Tuebingen
Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede
Registergericht: Stuttgart HRB 380137

___
Powered by www.kitware.comhttp://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



_
ERBE Elektromedizin GmbH
Firmensitz: 72072 Tuebingen
Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede
Registergericht: Stuttgart HRB 380137

___
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 probe value over time

2012-11-13 Thread David E DeMarle
The simplest way to do what you want is to use the Probe Location
filter to specify the point in space you want to sample values onto,
then use Select Points On to make a selection of that filter's
output. Finally apply Plot Selection over Time.

David E DeMarle
Kitware, Inc.
RD Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Tue, Nov 13, 2012 at 3:14 AM, Zenker, Dr. Matthias
matthias.zen...@erbe-med.com wrote:
 Hi Utkarsh,



 I’m afraid I don’t understand what you mean. The string “select points” does
 not figure in the User’s Guide. AFAIK I can select a point only if it is a
 node. But I would like to probe the temperature at a point which is located
 between nodes, so I need to interpolate. The interpolated temperature should
 be plotted over time.

 So my question: How do I do that?



 Thank you for a further explanation,



 Matthias







 Von: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
 Gesendet: Dienstag, 13. November 2012 00:47
 An: Zenker, Dr. Matthias
 Cc: paraview@paraview.org
 Betreff: Re: [Paraview] Plot probe value over time



 Matthias,



 Couldn't you create a point selection (either 'Select Points On' or
 'Select Points Through') for the probed point itself and then do Extract
 Selection Over Time?



 Utkarsh



 On Mon, Nov 12, 2012 at 2:36 AM, Zenker, Dr. Matthias
 matthias.zen...@erbe-med.com wrote:

 Hi,



 I would like to plot a value (say, the temperature) at a specific point
 (coordinates) over time. If there is a node at that point, I can use the
 Plot Selection over Time Filter. If not, it should be possible to use
 interpolation. I can use the Probe Location Filter to define a point by its
 coordinates. But how do I plot the temperature over time at that point? I
 didn’t manage to do that so far, and would be grateful for a helpful hint.



 Thanks,



 Matthias







 _
 ERBE Elektromedizin GmbH
 Firmensitz: 72072 Tuebingen
 Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede
 Registergericht: Stuttgart HRB 380137


 ___
 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





 _
 ERBE Elektromedizin GmbH
 Firmensitz: 72072 Tuebingen
 Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede
 Registergericht: Stuttgart HRB 380137


 ___
 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 probe value over time

2012-11-13 Thread David E DeMarle
I don't know. Works for me using the can.ex2 data set with 3.12 or
3.98 binaries on mac.

David E DeMarle
Kitware, Inc.
RD Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Tue, Nov 13, 2012 at 8:28 AM, Zenker, Dr. Matthias
matthias.zen...@erbe-med.com wrote:
 Hi,

 I can't get it to work.
 I have specified a point with Probe Location, clicked on Select Points 
 On, and selected the cross generated by Probe Location. But Plot 
 Selection Over Time gives an empty plot. Extract Selection doesn't help 
 either. Obviously I am missing something, but what?

 Thank you,

 Matthias

 P.S.: I have tried with both 3.12.0-RC2 and 3.98.0-RC1 under Windows XP 
 (32bit).

 -Ursprüngliche Nachricht-
 Von: David E DeMarle [mailto:dave.dema...@kitware.com]
 Gesendet: Dienstag, 13. November 2012 13:55
 An: Zenker, Dr. Matthias
 Cc: Utkarsh Ayachit; paraview@paraview.org
 Betreff: Re: [Paraview] Plot probe value over time

 The simplest way to do what you want is to use the Probe Location
 filter to specify the point in space you want to sample values onto, then use
 Select Points On to make a selection of that filter's output. Finally apply
 Plot Selection over Time.

 David E DeMarle
 Kitware, Inc.
 RD Engineer
 21 Corporate Drive
 Clifton Park, NY 12065-8662
 Phone: 518-881-4909


 On Tue, Nov 13, 2012 at 3:14 AM, Zenker, Dr. Matthias
 matthias.zen...@erbe-med.com wrote:
  Hi Utkarsh,
 
 
 
  I'm afraid I don't understand what you mean. The string select
  points does not figure in the User's Guide. AFAIK I can select a
  point only if it is a node. But I would like to probe the temperature
  at a point which is located between nodes, so I need to interpolate.
  The interpolated temperature should be plotted over time.
 
  So my question: How do I do that?
 
 
 
  Thank you for a further explanation,
 
 
 
  Matthias
 
 
 
 
 
 
 
  Von: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
  Gesendet: Dienstag, 13. November 2012 00:47
  An: Zenker, Dr. Matthias
  Cc: paraview@paraview.org
  Betreff: Re: [Paraview] Plot probe value over time
 
 
 
  Matthias,
 
 
 
  Couldn't you create a point selection (either 'Select Points On' or
  'Select Points Through') for the probed point itself and then do
  Extract Selection Over Time?
 
 
 
  Utkarsh
 
 
 
  On Mon, Nov 12, 2012 at 2:36 AM, Zenker, Dr. Matthias
  matthias.zen...@erbe-med.com wrote:
 
  Hi,
 
 
 
  I would like to plot a value (say, the temperature) at a specific
  point
  (coordinates) over time. If there is a node at that point, I can use
  the Plot Selection over Time Filter. If not, it should be possible to
  use interpolation. I can use the Probe Location Filter to define a
  point by its coordinates. But how do I plot the temperature over time
  at that point? I didn't manage to do that so far, and would be grateful 
  for a
 helpful hint.
 
 
 
  Thanks,
 
 
 
  Matthias
 
 
 
 
 
 
 
 
 __
 ___
  ERBE Elektromedizin GmbH
  Firmensitz: 72072 Tuebingen
  Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede
  Registergericht: Stuttgart HRB 380137
 
 
  ___
  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
 
 
 
 
 
 
 __
 ___
  ERBE Elektromedizin GmbH
  Firmensitz: 72072 Tuebingen
  Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede
  Registergericht: Stuttgart HRB 380137
 
 
  ___
  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
 


 _
 ERBE Elektromedizin GmbH
 Firmensitz: 72072 Tuebingen
 Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede
 Registergericht: Stuttgart HRB 380137

___
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 probe value over time

2012-11-13 Thread Zenker, Dr. Matthias
Hmmm...
Can anybody on the list confirm that this works under Windows?
If it doesn't, could this be a bug?
Is the can.ex2 dataset available somewhere so that I can exclude that the fault 
is in my dataset?

Matthias


 -Ursprüngliche Nachricht-
 Von: David E DeMarle [mailto:dave.dema...@kitware.com]
 Gesendet: Dienstag, 13. November 2012 14:35
 An: Zenker, Dr. Matthias
 Cc: Utkarsh Ayachit; paraview@paraview.org
 Betreff: Re: [Paraview] Plot probe value over time

 I don't know. Works for me using the can.ex2 data set with 3.12 or
 3.98 binaries on mac.

 David E DeMarle
 Kitware, Inc.
 RD Engineer
 21 Corporate Drive
 Clifton Park, NY 12065-8662
 Phone: 518-881-4909


 On Tue, Nov 13, 2012 at 8:28 AM, Zenker, Dr. Matthias
 matthias.zen...@erbe-med.com wrote:
  Hi,
 
  I can't get it to work.
  I have specified a point with Probe Location, clicked on Select Points
 On, and selected the cross generated by Probe Location. But Plot
 Selection Over Time gives an empty plot. Extract Selection doesn't help
 either. Obviously I am missing something, but what?
 
  Thank you,
 
  Matthias
 
  P.S.: I have tried with both 3.12.0-RC2 and 3.98.0-RC1 under Windows XP
 (32bit).
 
  -Ursprüngliche Nachricht-
  Von: David E DeMarle [mailto:dave.dema...@kitware.com]
  Gesendet: Dienstag, 13. November 2012 13:55
  An: Zenker, Dr. Matthias
  Cc: Utkarsh Ayachit; paraview@paraview.org
  Betreff: Re: [Paraview] Plot probe value over time
 
  The simplest way to do what you want is to use the Probe Location
  filter to specify the point in space you want to sample values onto,
  then use Select Points On to make a selection of that filter's
  output. Finally apply Plot Selection over Time.
 
  David E DeMarle
  Kitware, Inc.
  RD Engineer
  21 Corporate Drive
  Clifton Park, NY 12065-8662
  Phone: 518-881-4909
 
 
  On Tue, Nov 13, 2012 at 3:14 AM, Zenker, Dr. Matthias
  matthias.zen...@erbe-med.com wrote:
   Hi Utkarsh,
  
  
  
   I'm afraid I don't understand what you mean. The string select
   points does not figure in the User's Guide. AFAIK I can select a
   point only if it is a node. But I would like to probe the
   temperature at a point which is located between nodes, so I need to
 interpolate.
   The interpolated temperature should be plotted over time.
  
   So my question: How do I do that?
  
  
  
   Thank you for a further explanation,
  
  
  
   Matthias
  
  
  
  
  
  
  
   Von: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
   Gesendet: Dienstag, 13. November 2012 00:47
   An: Zenker, Dr. Matthias
   Cc: paraview@paraview.org
   Betreff: Re: [Paraview] Plot probe value over time
  
  
  
   Matthias,
  
  
  
   Couldn't you create a point selection (either 'Select Points On'
   or 'Select Points Through') for the probed point itself and then do
   Extract Selection Over Time?
  
  
  
   Utkarsh
  
  
  
   On Mon, Nov 12, 2012 at 2:36 AM, Zenker, Dr. Matthias
   matthias.zen...@erbe-med.com wrote:
  
   Hi,
  
  
  
   I would like to plot a value (say, the temperature) at a specific
   point
   (coordinates) over time. If there is a node at that point, I can
   use the Plot Selection over Time Filter. If not, it should be
   possible to use interpolation. I can use the Probe Location Filter
   to define a point by its coordinates. But how do I plot the
   temperature over time at that point? I didn't manage to do that so
   far, and would be grateful for a
  helpful hint.
  
  
  
   Thanks,
  
  
  
   Matthias
  
  
  
  
  
  
  
  
 
 __
  ___
   ERBE Elektromedizin GmbH
   Firmensitz: 72072 Tuebingen
   Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede
   Registergericht: Stuttgart HRB 380137
  
  
   ___
   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
  
  
  
  
  
  
 
 __
  ___
   ERBE Elektromedizin GmbH
   Firmensitz: 72072 Tuebingen
   Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede
   Registergericht: Stuttgart HRB 380137
  
  
   ___
   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
  
 
 
 
 __
 ___
  ERBE Elektromedizin GmbH
  Firmensitz: 72072 Tuebingen
  Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede

[Paraview] Plot probe value over time

2012-11-12 Thread Zenker, Dr. Matthias
Hi,

I would like to plot a value (say, the temperature) at a specific point 
(coordinates) over time. If there is a node at that point, I can use the Plot 
Selection over Time Filter. If not, it should be possible to use interpolation. 
I can use the Probe Location Filter to define a point by its coordinates. But 
how do I plot the temperature over time at that point? I didn't manage to do 
that so far, and would be grateful for a helpful hint.

Thanks,

Matthias




_
ERBE Elektromedizin GmbH
Firmensitz: 72072 Tuebingen
Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede
Registergericht: Stuttgart HRB 380137

___
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 probe value over time

2012-11-12 Thread Utkarsh Ayachit
Matthias,

Couldn't you create a point selection (either 'Select Points On' or
'Select Points Through') for the probed point itself and then do Extract
Selection Over Time?

Utkarsh


On Mon, Nov 12, 2012 at 2:36 AM, Zenker, Dr. Matthias 
matthias.zen...@erbe-med.com wrote:

  Hi,

 I would like to plot a value (say, the temperature) at a specific point
 (coordinates) over time. If there is a node at that point, I can use the
 Plot Selection over Time Filter. If not, it should be possible to use
 interpolation. I can use the Probe Location Filter to define a point by its
 coordinates. But how do I plot the temperature over time at that point? I
 didn’t manage to do that so far, and would be grateful for a helpful hint.

 Thanks,

 Matthias




 _
 ERBE Elektromedizin GmbH
 Firmensitz: 72072 Tuebingen
 Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede
 Registergericht: Stuttgart HRB 380137


 ___
 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 streamlines from rectilinear gird data

2012-05-14 Thread Utkarsh Ayachit
Can you attach your data file please?

Utkarsh

On Sun, May 13, 2012 at 1:04 AM, Lianhua Zhu zhulianhua...@gmail.com wrote:
 Hello all!
  I am new to paraviewvtk

 I want to plot 2d velocity filed. I have googled long times, but in vain.
 My .vtk file is
 ___
 # vtk DataFile Version 2.0
 out980.vtk
 ASCII
 DATASET RECTILINEAR_GRID
 DIMENSIONS 32 32 1
 X_COORDINATES 32 float
 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
 29 30 31
 Y_COORDINATES 32 float
 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
 29 30 31
 Z_COORDINATES 1 float
 0
 POINT_DATA 1024
 VECTORS VecVelocity float
 0              -3.49e-18         0
 0              -3.49e-18         0
 ... 1022 more lines like above...
 ...
 ___

 After import the data into paraview and click the Stream Tracer button ,
 then apply, but the view port
 became blank(nothing but coordinate axis) .

 btw. The contour button is grey, Why?

 Thanks!
 Zhu Lianhua




 ___
 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 2d curve

2012-03-05 Thread Utkarsh Ayachit
By argument, you mean as an input dataset? You'll have to create a
vtk-dataset (vtkTable) using the array. I believe there are examples
on the Wiki how to do that. Let me know if you cannot find them, and I
can fish them out for you.

Utkarsh

On Sat, Mar 3, 2012 at 10:32 AM, hicham mach hicham.m...@gmail.com wrote:
 Thank you Utkarsh for your answer. I used this solution to plot array data
 created with a python script  :

 run a python script with PV and generate array data
 write data in a file *.dat
 use programmable filter to read this file
 use Plot Data to plot.

 I have an other question : how can i use a python list as an argument for a
 Programmable Filer ?

 Thanks



 2012/3/2 Utkarsh Ayachit utkarsh.ayac...@kitware.com

 If you're using Python scripting exclusively, then you can indeed
 directly use matplotlib or any other Pyhton modules for generating
 plots. However if you want those plots to be rendered in the ParaView
 GUI or on tile-displays, etc. then you want to use ParaView's plots.
 For that can use the Calculator or Python Calculator to compute the
 derived quantity then apply the Plot Data filter to plot the arrays
 in plots.

 Utkarsh

 On Thu, Mar 1, 2012 at 7:55 AM, hicham mach hicham.m...@gmail.com wrote:
  Hi all,
 
  I use PV with a python scripts and i want to plot a 2d curve (y = f(x)).
  my question is :  can i call matplotlib to plot a 2d curve in PV?
  If not, it have in PV  a filter that do this and which file format
  should be
  used ?
 
  thank you for your help.
 
  Hicham
 
  ___
  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

2012-02-21 Thread Scott, W Alan
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

2012-02-21 Thread Utkarsh Ayachit
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 wasc...@sandia.gov 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


Re: [Paraview] Plot over line CSV export python script not working

2011-10-02 Thread Luca Giannelli
Thank you very much Andy,
with your precious help I have been able to find out a working solution for
what I need.

I foud out the the original script is completly functional without any
modification
the only BIG ISSUE was the the Paraview binaries provided by the Ubuntu
Repositories
do not provide all the needed python scripts for the execution of a perfect
python environment
in Paraview. I would like to notify this to the mantainers of the repos.
So, the workaround was this easy! I just installed Paraview from the latest
source and got
the thing running.

However I found another problem relatet of course to the execution of the
pipeline due to
the missing active source, just as you suggested in you mail. That was
easier to solve.
So I ended up with a working script I want to share with all those people
that may need it.
I'll send an heavily commented version with a dedicated email. Here is a
snippet just to let you
see how i did.
Thank you very much for your time!

Luca

-- CODE---

try: paraview.simple
except: from paraview.simple import *
paraview.simple._DisableFirstRenderCameraReset()

fotobioreattore_foam = FindSource(fotobioreattore.foam)
SetActiveSource(fotobioreattore_foam)

PlotOverLine2 = PlotOverLine( Source=High Resolution Line Source )
DataRepresentation7 = Show()

PlotOverLine2.Source.Point1 = [0.0, 0.0, 0.0]
PlotOverLine2.Source.Point2 = [0.0, 0.0, 0.43]

Render()

source = PlotOverLine2
writer = CreateWriter(YOUR_FILE_NAME_GOES_HERE.csv, source)
writer.FieldAssociation = Points # or Cells
writer.UpdatePipeline()
del writer

---

2011/9/30 Andy Bauer andy.ba...@kitware.com

 I think the first problem is that there isn't an active source.  The
 GetActiveSource() is returning None and when you create subsequent filters
 that automatically connect to the active source it causes problems when you
 try to execute the pipeline.  Something along the lines of below should get
 you closer:
 =

 try: paraview.simple
 except: from paraview.simple import *
 paraview.simple._DisableFirstRenderCameraReset()

 Wavelet()
 p = PlotOverLine()
 p.Source.Point1 = [-.5, -5., -5.]
 p.Source.Point2 = [.5, 5., 5.]
 w = CSVWriter()
 w.FileName = /home/piota/csv.csv
 w.UpdatePipeline()
 =

 The problem here is that the output of PlotOverLine is a polydata and the
 writer is expecting a vtkTable.  I'm not sure how to convert between the
 two.  Maybe someone else can help you with that.

 The 2 things I'd try at this point are either creating my own writer using
 the python programmable filter or writing out a polydata file and parsing
 that for the information that you need.  The first one is probably the
 better choice of the two.

 Andy



 On Fri, Sep 30, 2011 at 12:47 AM, Luca Giannelli bil...@gmail.com wrote:

 Ok,

 I moved on a little. Reading the output of the error reported in the
 previous mail, it says that it cannot find XArrayName. Looking the
 original script you can see that it is needed for the definition of the plot
 area properties in the GUI I don't need it as I only want a csv file, so
 I commented out everything in that section. Running the script again it now
 complains about being unable to find CreateWriter. I need this to write
 the csv file so this error becomes fatal.
 As this function should be included in the paraview.simple that I load at
 the beginning of the script (like explained in the manual), what I did was
 to go through all the functions in the simple.py file to locate it. Without
 any succes. Then I went on with the brute-force approach and lauched:

 grep -H -r CreateWriter /usr

 Binary file /usr/lib/paraview/libvtkPVFilters.so matches

 Binary file /usr/lib/paraview/libvtkPVServerManager.so matches

 Binary file /usr/lib/paraview/libvtkIO.so.pv3.8 matches

 Binary file /usr/lib/paraview/libvtkPVServerManagerPythonD.so matches

 Binary file /usr/lib/paraview/libpqApplicationComponents.so matches

 Binary file /usr/lib/paraview/libvtkIO.so matches


 Unfortunately they are all bin files and not py...

 I'm starting to believe that I'm really missing something here.

 Any idea?


 Thx!!!


 Luca


 2011/9/30 Luca Giannelli bil...@gmail.com

 Andy,

 thank you for your quick reply.

 I am using Paraview 3.8.0 which is the latest binary in the Ubuntu repos.
 I chose to install that without compiling from source as I was rushing (I
 know, it sounds weird... but). Do you believe that the problem is
 build-related?

 However, reading the errors that you get I don't see anything that I can
 visualize in my output which is as follows (Python shell)

 Traceback (most recent call last):

 File /usr/lib/paraview/site-packages/paraview/servermanager.py, line
 2922, in _proxyDefinitionsUpdated

 if vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated():

 AttributeError: GetProxyDefinitionsUpdated

 Traceback (most recent call last):

 File 

Re: [Paraview] Plot over line CSV export python script not working

2011-09-30 Thread Andy Bauer
I think the first problem is that there isn't an active source.  The
GetActiveSource() is returning None and when you create subsequent filters
that automatically connect to the active source it causes problems when you
try to execute the pipeline.  Something along the lines of below should get
you closer:
=
try: paraview.simple
except: from paraview.simple import *
paraview.simple._DisableFirstRenderCameraReset()

Wavelet()
p = PlotOverLine()
p.Source.Point1 = [-.5, -5., -5.]
p.Source.Point2 = [.5, 5., 5.]
w = CSVWriter()
w.FileName = /home/piota/csv.csv
w.UpdatePipeline()
=

The problem here is that the output of PlotOverLine is a polydata and the
writer is expecting a vtkTable.  I'm not sure how to convert between the
two.  Maybe someone else can help you with that.

The 2 things I'd try at this point are either creating my own writer using
the python programmable filter or writing out a polydata file and parsing
that for the information that you need.  The first one is probably the
better choice of the two.

Andy


On Fri, Sep 30, 2011 at 12:47 AM, Luca Giannelli bil...@gmail.com wrote:

 Ok,

 I moved on a little. Reading the output of the error reported in the
 previous mail, it says that it cannot find XArrayName. Looking the
 original script you can see that it is needed for the definition of the plot
 area properties in the GUI I don't need it as I only want a csv file, so
 I commented out everything in that section. Running the script again it now
 complains about being unable to find CreateWriter. I need this to write
 the csv file so this error becomes fatal.
 As this function should be included in the paraview.simple that I load at
 the beginning of the script (like explained in the manual), what I did was
 to go through all the functions in the simple.py file to locate it. Without
 any succes. Then I went on with the brute-force approach and lauched:

 grep -H -r CreateWriter /usr

 Binary file /usr/lib/paraview/libvtkPVFilters.so matches

 Binary file /usr/lib/paraview/libvtkPVServerManager.so matches

 Binary file /usr/lib/paraview/libvtkIO.so.pv3.8 matches

 Binary file /usr/lib/paraview/libvtkPVServerManagerPythonD.so matches

 Binary file /usr/lib/paraview/libpqApplicationComponents.so matches

 Binary file /usr/lib/paraview/libvtkIO.so matches


 Unfortunately they are all bin files and not py...

 I'm starting to believe that I'm really missing something here.

 Any idea?


 Thx!!!


 Luca


 2011/9/30 Luca Giannelli bil...@gmail.com

 Andy,

 thank you for your quick reply.

 I am using Paraview 3.8.0 which is the latest binary in the Ubuntu repos.
 I chose to install that without compiling from source as I was rushing (I
 know, it sounds weird... but). Do you believe that the problem is
 build-related?

 However, reading the errors that you get I don't see anything that I can
 visualize in my output which is as follows (Python shell)

 Traceback (most recent call last):

 File /usr/lib/paraview/site-packages/paraview/servermanager.py, line
 2922, in _proxyDefinitionsUpdated

 if vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated():

 AttributeError: GetProxyDefinitionsUpdated

 Traceback (most recent call last):

 File /usr/lib/paraview/site-packages/paraview/servermanager.py, line
 2922, in _proxyDefinitionsUpdated

 if vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated():

 AttributeError: GetProxyDefinitionsUpdated

 Traceback (most recent call last):

 File /usr/lib/paraview/site-packages/paraview/servermanager.py, line
 2922, in _proxyDefinitionsUpdated

 if vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated():

 AttributeError: GetProxyDefinitionsUpdated

 Traceback (most recent call last):

 File /usr/lib/paraview/site-packages/paraview/servermanager.py, line
 2922, in _proxyDefinitionsUpdated

 if vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated():

 AttributeError: GetProxyDefinitionsUpdated

 Traceback (most recent call last):

 File string, line 17, in module

 File /usr/lib/paraview/site-packages/paraview/servermanager.py, line
 201, in __setattr__

 to add this attribute.)

 AttributeError: Attribute XArrayName does not exist. This class does not
 allow addition of new attributes to avoid mistakes due to typos. Use
 add_attribute() if you really want to add this attribute.


 It looks like a complain about the server, not about my script though
 in fact, if comment out the writer part, leaving only the trace recorded
 set of operations, it spits out the very same error. Moreover, the Paraview
 output doesn't show any output at all (except for the usual a complain about
 the qt4 that is not related).

 Do you see any evident problem in the script syntax in the writer section?
 For example references to the wrong source, etc?

 Or do you believe that it is a problem related to the Paraview/Python
 installation (or whatever..).


 Another point does the PlotOverLine2 influence the results? I
 recorded the 

[Paraview] Plot over line CSV export python script not working

2011-09-29 Thread Luca Giannelli
Hello everybody,

I've been using Paraview for quite a long time but I didn't need the python
scripting up to now.
I want to execute a series of plot over line in numerous points and
different time steps so it is nothing
I can afford to do manually.
Looking on the net I was able to find out how to record a macro and how to
create a writer so I
ended up with this script:


try: paraview.simple
except: from paraview.simple import *
paraview.simple._DisableFirstRenderCameraReset()

fotobioreattore_foam = GetActiveSource()
PlotOverLine2 = PlotOverLine( Source=High Resolution Line Source )

PlotOverLine2.Source.Point1 = [-0.03511841783524, -0.03509980067610741,
0.0]
PlotOverLine2.Source.Point2 = [0.03511841783524, 0.03511841783524,
0.430071525574]

DataRepresentation7 = Show()

PlotOverLine2.Source.Point1 = [-0.0, 0.0, 0.0]
PlotOverLine2.Source.Point2 = [0.0, 0.0, 0.430071525574]

XYChartView4 = GetRenderView()
DataRepresentation7.XArrayName = 'arc_length'
DataRepresentation7.SeriesVisibility = ['U (0)', '0', 'U (1)', '0', 'U (2)',
'0', 'vtkValidPointMask', '0', 'arc_length', '0', 'Points (0)', '0', 'Points
(1)', '0', 'Points (2)', '0', 'Points (Magnitude)', '0']
DataRepresentation7.UseIndexForXAxis = 0

Render()

#= create writer
source = PlotOverLine2 #PlotOverLine2.Source
writer = CreateWriter(/home/piota/csv.csv, source)
#writer = CreateWriter(/home/piota/csv.csv)
writer.FieldAssociation = Points # or Cells
writer.UpdatePipeline()
del writer
--

If I'm not mistaken, this should write a csv.csv file in my home folder but
it doesn't write anything. No error is reported when I run the script but
still I get no output.
I'm still a bit confused on which source I should specify, so I'm pretty
sure that the writer part is incorrect.

Can somebody help me filling it out properly?

Thx in advance.

Luca
___
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 over line CSV export python script not working

2011-09-29 Thread Luca Giannelli
Andy,

thank you for your quick reply.

I am using Paraview 3.8.0 which is the latest binary in the Ubuntu repos. I
chose to install that without compiling from source as I was rushing (I
know, it sounds weird... but). Do you believe that the problem is
build-related?

However, reading the errors that you get I don't see anything that I can
visualize in my output which is as follows (Python shell)

Traceback (most recent call last):

File /usr/lib/paraview/site-packages/paraview/servermanager.py, line 2922,
in _proxyDefinitionsUpdated

if vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated():

AttributeError: GetProxyDefinitionsUpdated

Traceback (most recent call last):

File /usr/lib/paraview/site-packages/paraview/servermanager.py, line 2922,
in _proxyDefinitionsUpdated

if vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated():

AttributeError: GetProxyDefinitionsUpdated

Traceback (most recent call last):

File /usr/lib/paraview/site-packages/paraview/servermanager.py, line 2922,
in _proxyDefinitionsUpdated

if vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated():

AttributeError: GetProxyDefinitionsUpdated

Traceback (most recent call last):

File /usr/lib/paraview/site-packages/paraview/servermanager.py, line 2922,
in _proxyDefinitionsUpdated

if vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated():

AttributeError: GetProxyDefinitionsUpdated

Traceback (most recent call last):

File string, line 17, in module

File /usr/lib/paraview/site-packages/paraview/servermanager.py, line 201,
in __setattr__

to add this attribute.)

AttributeError: Attribute XArrayName does not exist. This class does not
allow addition of new attributes to avoid mistakes due to typos. Use
add_attribute() if you really want to add this attribute.


It looks like a complain about the server, not about my script though in
fact, if comment out the writer part, leaving only the trace recorded set
of operations, it spits out the very same error. Moreover, the Paraview
output doesn't show any output at all (except for the usual a complain about
the qt4 that is not related).

Do you see any evident problem in the script syntax in the writer section?
For example references to the wrong source, etc?

Or do you believe that it is a problem related to the Paraview/Python
installation (or whatever..).


Another point does the PlotOverLine2 influence the results? I recorded
the trace making a second POL that automatically got labeled as #2... if I
run it at startup it executes perfectly fine so I don't think that the
problem is here too.


I'm sorry for my pretty low level in Python as I am an absolute beginner


Thanks again


Luca

2011/9/29 Andy Bauer andy.ba...@kitware.com

 If you're running the python script in the paraview gui sometimes the
 messages are printed out to the python shell.  What version of paraview are
 you using?

 I'm running paraview from the head of the repo.  The output I get from the
 OutputMessages window is:
 

 ERROR: In
 /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx,
 line 727

 vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm
 vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.

  ERROR: In
 /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx,
 line 727

 vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm
 vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.

  ERROR: In
 /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx,
 line 727

 vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm
 vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.

  ERROR: In
 /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx,
 line 727

 vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm
 vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.

  ERROR: In
 /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx,
 line 727

 vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm
 vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.

  ERROR: In
 /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx,
 line 727

 vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm
 vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.

  ERROR: In
 /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx,
 line 727

 vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm
 vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.

  ERROR: In
 /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx,
 line 727

 vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm
 vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.

  ERROR: In
 

Re: [Paraview] Plot over line CSV export python script not working

2011-09-29 Thread Luca Giannelli
Ok,

I moved on a little. Reading the output of the error reported in the
previous mail, it says that it cannot find XArrayName. Looking the
original script you can see that it is needed for the definition of the plot
area properties in the GUI I don't need it as I only want a csv file, so
I commented out everything in that section. Running the script again it now
complains about being unable to find CreateWriter. I need this to write
the csv file so this error becomes fatal.
As this function should be included in the paraview.simple that I load at
the beginning of the script (like explained in the manual), what I did was
to go through all the functions in the simple.py file to locate it. Without
any succes. Then I went on with the brute-force approach and lauched:

grep -H -r CreateWriter /usr

Binary file /usr/lib/paraview/libvtkPVFilters.so matches

Binary file /usr/lib/paraview/libvtkPVServerManager.so matches

Binary file /usr/lib/paraview/libvtkIO.so.pv3.8 matches

Binary file /usr/lib/paraview/libvtkPVServerManagerPythonD.so matches

Binary file /usr/lib/paraview/libpqApplicationComponents.so matches

Binary file /usr/lib/paraview/libvtkIO.so matches


Unfortunately they are all bin files and not py...

I'm starting to believe that I'm really missing something here.

Any idea?


Thx!!!


Luca


2011/9/30 Luca Giannelli bil...@gmail.com

 Andy,

 thank you for your quick reply.

 I am using Paraview 3.8.0 which is the latest binary in the Ubuntu repos. I
 chose to install that without compiling from source as I was rushing (I
 know, it sounds weird... but). Do you believe that the problem is
 build-related?

 However, reading the errors that you get I don't see anything that I can
 visualize in my output which is as follows (Python shell)

 Traceback (most recent call last):

 File /usr/lib/paraview/site-packages/paraview/servermanager.py, line
 2922, in _proxyDefinitionsUpdated

 if vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated():

 AttributeError: GetProxyDefinitionsUpdated

 Traceback (most recent call last):

 File /usr/lib/paraview/site-packages/paraview/servermanager.py, line
 2922, in _proxyDefinitionsUpdated

 if vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated():

 AttributeError: GetProxyDefinitionsUpdated

 Traceback (most recent call last):

 File /usr/lib/paraview/site-packages/paraview/servermanager.py, line
 2922, in _proxyDefinitionsUpdated

 if vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated():

 AttributeError: GetProxyDefinitionsUpdated

 Traceback (most recent call last):

 File /usr/lib/paraview/site-packages/paraview/servermanager.py, line
 2922, in _proxyDefinitionsUpdated

 if vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated():

 AttributeError: GetProxyDefinitionsUpdated

 Traceback (most recent call last):

 File string, line 17, in module

 File /usr/lib/paraview/site-packages/paraview/servermanager.py, line 201,
 in __setattr__

 to add this attribute.)

 AttributeError: Attribute XArrayName does not exist. This class does not
 allow addition of new attributes to avoid mistakes due to typos. Use
 add_attribute() if you really want to add this attribute.


 It looks like a complain about the server, not about my script though
 in fact, if comment out the writer part, leaving only the trace recorded
 set of operations, it spits out the very same error. Moreover, the Paraview
 output doesn't show any output at all (except for the usual a complain about
 the qt4 that is not related).

 Do you see any evident problem in the script syntax in the writer section?
 For example references to the wrong source, etc?

 Or do you believe that it is a problem related to the Paraview/Python
 installation (or whatever..).


 Another point does the PlotOverLine2 influence the results? I
 recorded the trace making a second POL that automatically got labeled as
 #2... if I run it at startup it executes perfectly fine so I don't think
 that the problem is here too.


 I'm sorry for my pretty low level in Python as I am an absolute beginner


 Thanks again


 Luca

 2011/9/29 Andy Bauer andy.ba...@kitware.com

 If you're running the python script in the paraview gui sometimes the
 messages are printed out to the python shell.  What version of paraview are
 you using?

 I'm running paraview from the head of the repo.  The output I get from the
 OutputMessages window is:
 

 ERROR: In
 /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx,
 line 727

 vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm
 vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.

  ERROR: In
 /home/acbauer/CODE/ParaView/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx,
 line 727

 vtkPVCompositeDataPipeline (0x493bbd0): Input port 1 of algorithm
 vtkPProbeFilter(0x493dab0) has 0 connections but is not optional.

  ERROR: In
 

[Paraview] Plot Maximum Value over Time

2011-07-12 Thread Jeffrey Martin
Hi, I was wondering if you could give me some advice:

I extracted some points from a clip plane with the extract data selection 
feature 
and we want to plot the maximum value (speed in this case) of these points over 
time.  

The extract data selection filter shows the upper and lower bounds, but we just 
need a way to plot the upper bound (i.e. maximum) over time.  I've looked 
online 
at spreadsheet view, but can't seem to get a definite answer.  Do you know how 
to do this?

Thank you



___
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 Maximum Value over Time

2011-07-12 Thread Moreland, Kenneth
The following is inelegant, but should work.  First, run the Descriptive
Statistics filter on whatever data you want to plot the maximum.  From
your description, it sounds like it would be the output of an extract
selection filter.  In the object inspector, select only the variable you
are interested in (in your case speed).

The descriptive statistics filter has two outputs, the Statistical Model
and the Assessed Data. You are interested in the Statistical Model.
When you apply the descriptive statistics filter, ParaView will add two
spreadsheet views, one if which is showing the statistical model.  It
should show a table with one row that describes the name of your variable
and the statistics computed from it (maximum being one of them).  Click
that row to select it.

With that row selected, create a Plot Selection Over Time filter.  In
the resulting plot, turn off all series except Maximum.

Note that in the future we hope to integrate these descriptive statistics
with the Find Data dialog so that you can just directly select the
maximum value and plot that selection.

-Ken

     Kenneth Moreland
***  Sandia National Laboratories
***  
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel




On 7/12/11 8:16 AM, Jeffrey Martin jeffrey.l.mar...@colorado.edu wrote:

Hi, I was wondering if you could give me some advice:

I extracted some points from a clip plane with the extract data selection
feature 
and we want to plot the maximum value (speed in this case) of these
points over 
time.  

The extract data selection filter shows the upper and lower bounds, but
we just 
need a way to plot the upper bound (i.e. maximum) over time.  I've looked
online 
at spreadsheet view, but can't seem to get a definite answer.  Do you
know how 
to do this?

Thank you



___
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 field data over time?

2010-07-13 Thread Utkarsh Ayachit
Eric,

If I remember correctly, this filter is designed to work with
ExodusIIReader alone. Exodus puts what it calls Global Variables in
the FieldData, and this filter is generating a plot for that. It
shouldn't be too hard to create a Plot FieldData Over Time filter
modeled on vtkExtractArraysOverTime.

Utkarsh

On Fri, Jul 9, 2010 at 4:49 PM, Eric E. Monson emon...@cs.duke.edu wrote:
 Hello,

 I am trying to understand the Plot Global Variables Over Time filter. I have 
 an unstructured grid with multiple time steps I'm reading in to ParaView from 
 a temporal collection in an Xdmf file. With each time step I have a Grid 
 centered value that's getting read in properly as Field Data.

 It sounded from the (?) button help file that Plot Global Variables Over Time 
 should allow me to plot this Field Data over time, but when I run it I only 
 get Time and vtkValidPointMask in the resulting Row Data.

 Am I misunderstanding the use/point of this filter?

 Thanks,
 -Eric

 --
 Eric E Monson
 Duke Visualization Technology Group


 ___
 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 field data over time?

2010-07-13 Thread Eric E. Monson
Hey Utkarsh,

Thanks for the clarification. Do you know if there are any data sets with this 
type of global field data in the VTK or ParaView data samples so I could see 
what that looks like?

Thanks,
-Eric


On Jul 13, 2010, at 9:54 AM, Utkarsh Ayachit wrote:

 Eric,
 
 If I remember correctly, this filter is designed to work with
 ExodusIIReader alone. Exodus puts what it calls Global Variables in
 the FieldData, and this filter is generating a plot for that. It
 shouldn't be too hard to create a Plot FieldData Over Time filter
 modeled on vtkExtractArraysOverTime.
 
 Utkarsh
 
 On Fri, Jul 9, 2010 at 4:49 PM, Eric E. Monson emon...@cs.duke.edu wrote:
 Hello,
 
 I am trying to understand the Plot Global Variables Over Time filter. I have 
 an unstructured grid with multiple time steps I'm reading in to ParaView 
 from a temporal collection in an Xdmf file. With each time step I have a 
 Grid centered value that's getting read in properly as Field Data.
 
 It sounded from the (?) button help file that Plot Global Variables Over 
 Time should allow me to plot this Field Data over time, but when I run it I 
 only get Time and vtkValidPointMask in the resulting Row Data.
 
 Am I misunderstanding the use/point of this filter?
 
 Thanks,
 -Eric
 
 --
 Eric E Monson
 Duke Visualization Technology Group
 
 
 ___
 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 field data over time?

2010-07-13 Thread Eric E. Monson
Sorry for the noise -- I see that can.ex2 has these variables.

Thanks,
-Eric

On Jul 13, 2010, at 10:09 AM, Eric E. Monson wrote:

 Hey Utkarsh,
 
 Thanks for the clarification. Do you know if there are any data sets with 
 this type of global field data in the VTK or ParaView data samples so I could 
 see what that looks like?
 
 Thanks,
 -Eric
 
 
 On Jul 13, 2010, at 9:54 AM, Utkarsh Ayachit wrote:
 
 Eric,
 
 If I remember correctly, this filter is designed to work with
 ExodusIIReader alone. Exodus puts what it calls Global Variables in
 the FieldData, and this filter is generating a plot for that. It
 shouldn't be too hard to create a Plot FieldData Over Time filter
 modeled on vtkExtractArraysOverTime.
 
 Utkarsh
 
 On Fri, Jul 9, 2010 at 4:49 PM, Eric E. Monson emon...@cs.duke.edu wrote:
 Hello,
 
 I am trying to understand the Plot Global Variables Over Time filter. I 
 have an unstructured grid with multiple time steps I'm reading in to 
 ParaView from a temporal collection in an Xdmf file. With each time step I 
 have a Grid centered value that's getting read in properly as Field Data.
 
 It sounded from the (?) button help file that Plot Global Variables Over 
 Time should allow me to plot this Field Data over time, but when I run it I 
 only get Time and vtkValidPointMask in the resulting Row Data.
 
 Am I misunderstanding the use/point of this filter?
 
 Thanks,
 -Eric
 
 --
 Eric E Monson
 Duke Visualization Technology Group
 
 
 ___
 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

___
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 field data over time?

2010-07-09 Thread Eric E. Monson
Hello,

I am trying to understand the Plot Global Variables Over Time filter. I have an 
unstructured grid with multiple time steps I'm reading in to ParaView from a 
temporal collection in an Xdmf file. With each time step I have a Grid 
centered value that's getting read in properly as Field Data.

It sounded from the (?) button help file that Plot Global Variables Over Time 
should allow me to plot this Field Data over time, but when I run it I only get 
Time and vtkValidPointMask in the resulting Row Data.

Am I misunderstanding the use/point of this filter?

Thanks,
-Eric

--
Eric E Monson
Duke Visualization Technology Group


___
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 distance from a surface

2010-07-06 Thread Yann-Hervé Hellouvry
Hi,

I guess I have an easy question : I would like to plot distance between a
surface i've generated in paraview, and my x-axis. The plot will be x for
abscisses and distance for ordonnée. 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 distance from a surface

2010-07-06 Thread Aurélien Marsan
Hi,

You can use the calculator to calculate sqrt(coordsY^2+coordsZ^2) and use
the plot data filter.

Regards,

Aurélien

2010/7/6 Yann-Hervé Hellouvry yannherve.hellou...@gmail.com

 Hi,

 I guess I have an easy question : I would like to plot distance between a
 surface i've generated in paraview, and my x-axis. The plot will be x for
 abscisses and distance for ordonnée. 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


___
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 over line question (save data)

2010-05-28 Thread Utkarsh Ayachit
Apply Extract Selection filter to extract the selected data and then
save data as csv.

Utkarsh

On Fri, May 28, 2010 at 11:39 AM, Stephen Wornom
stephen.wor...@sophia.inria.fr wrote:
 When I save data in the format .csv, I would like to save only the values
 that I select. But save.data writes every variable 17 of which I don't want.
 Is there a way to save only selected values?
 Stephen

 --
 stephen.wor...@sophia.inria.fr
 2004 route des lucioles - BP93
 Sophia Antipolis
 06902 CEDEX

 Tel: 04 92 38 50 54
 Fax: 04 97 15 53 51


 ___
 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 over a line: Interpolation method

2010-02-03 Thread Berk Geveci
Not in a trivial way. What is the type of the data you are visualizing?

On Tue, Feb 2, 2010 at 6:55 PM, Mohammad Mirzadeh mirza...@gmail.comwrote:

 Hi guys,

 I was wondering if there is a way to change the interpolation method when
 using plot over a line filter on a 3D dataset? It seems to me that the
 default method is a linear interpolation which is not good enough for what I
 am doing right now. Also does anyone know if there is a way to change the
 interpolation method for contours, clip, slice and/or other similar filters?

 Best,
 Mohammad

 ___
 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


  1   2   >