<div dir="ltr">Hi Andy,<div><br></div><div>Thanks for the info! I will check it as soon as I am back at the office.</div><div>Will let you know if it works for me.</div><div><br></div><div>Kind regards,</div><div><br></div>
<div>Marco</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 17, 2013 at 7:00 PM, Andy Bauer <span dir="ltr"><<a href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Marco,<br><br>I recently added the ability to iterate through time steps in the programmable filter. It's not a feature which we are widely promoting due to its complexity though. I've attached a state file and a data file that should demonstrate it. Note that this has been added recently so it may only work with the PV4.1 release candidate and later.<br>
<br></div>Regards,<br>Andy<br>
</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 17, 2013 at 10:39 AM, Marco Nawijn <span dir="ltr"><<a href="mailto:nawijn@gmail.com" target="_blank">nawijn@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Cory,<div><br></div><div>I am seriously impressed! I cannot wait to check it out and play around with it.</div>
<div><br></div><div>Now I have only two wishes left :). For those who are interested:</div>
<div> 1. I would like to be able to dynamically update (e.g. add timestep) Paraview without</div><div> blocking the user interface. Use-case for me is to allow immediate correlation between</div><div> simulations and physical tests (aerospace certification testing)</div>
<div> 2. More feature rich annotation of points and cells. Same reason as above. I would for example</div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 17, 2013 at 4:29 PM, Cory Quammen <span dir="ltr"><<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Auré Lien,<br>
<br>
Thanks for the feedback,<br>
<br>
The Python View could certainly consume output from a<br>
ProgrammableFilter. Did you have another way in mind to use matplotlib<br>
from within a programmable filter? I don't think anything would stop<br>
you from doing so, but to have any matplotlib plots show up in a<br>
ParaView window, you would need to have your matplotlib code in the<br>
Python View script.<br>
<br>
You can access the Python View from the Python shell, but it might be<br>
a little awkward. You would have to set the script in the Python View<br>
as a string, e.g.<br>
<br>
>>> view =paraview.simple.CreateView("PythonView")<br>
>>> view.Script = """<br>
... def setup_data(view):<br>
... print "setup_data"<br>
...<br>
... def render(view, figure):<br>
... print "render"<br>
... """<br>
<br>
You could imagine loading a matplotlib script this way, perhaps.<br>
<br>
Best,<br>
Cory<br>
<div><div><br>
On Tue, Dec 17, 2013 at 10:08 AM, Aurélien Marsan <<a href="mailto:aur.marsan@gmail.com" target="_blank">aur.marsan@gmail.com</a>> wrote:<br>
> Wow ! So great ! A very popular python feature that was missing in Paraview.<br>
><br>
> Juste one question : will matplotlib also be directly accessible from a<br>
> ProgrammableFilter or from the python console ?<br>
><br>
> Many thanks,<br>
><br>
> A. Marsan<br>
</div></div><div><div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>