[Paraview] VTK: Re(z), Im(z) plotted as |z|^2, arg(z) ?

2010-01-19 Thread Nico Schlömer
Hi, I'm having that very simple legacy VTK file (STRUCTURED_GRID) with one big block of SCALARS with two components, representing the real part and the imaginary part of complex values z. The values that are interesting for plotting are |z|^2 and arg(z), which of course can be entirely expressed

Re: [Paraview] VTK: Re(z), Im(z) plotted as |z|^2, arg(z) ?

2010-01-19 Thread Nico Schlömer
, but it is much easier to use. -Ken On 1/19/10 12:29 PM, Nico Schlömer nico.schloe...@gmail.com wrote: Are we talking about the Python Programmable filter? Well, judging from http://www.itk.org/Wiki/Python_Programmable_Filter that seems to be a rather powerful thing indeed. I'll try and get my

[Paraview] VTU vs. Exodus: play through list of files

2010-11-16 Thread Nico Schlömer
Hi all, I've had a bunch of VTU files (say, state1.vtu, state2.vtu, state2.vtu,...) and using ParaView, it is very easy to display them in a movie style, being able to play, pause, click through the frames and so on. I then recently switched to the Exodus format, the information in the files

Re: [Paraview] VTU vs. Exodus: play through list of files

2010-11-16 Thread Nico Schlömer
. --Nico On Tue, Nov 16, 2010 at 2:36 PM, Weirs, V Gregory vgwe...@sandia.gov wrote: In exodus format, one generally writes all the steps (state1, state2, ...) in the same file. This relies on the mesh topology being the same for the entire set of steps. Greg On 11/16/10 12:31 PM, Nico

Re: [Paraview] VTU vs. Exodus: play through list of files

2010-11-16 Thread Nico Schlömer
with ParaView = 3.8.0 and this exact file name format. Thanks for the hint. --Nico On Tue, Nov 16, 2010 at 3:44 PM, Gregory Sjaardema gdsj...@sandia.gov wrote: On 11/16/10 12:46 PM, Nico Schlömer wrote: In exodus format, one generally writes all the steps (state1, state2, ...) in the same

[Paraview] Background: trim, transparent?

2010-12-16 Thread Nico Schlömer
Hi all, for Paraview's Save Screenshot or Save Animation, is it possible to trim the resulting image to to get rid of the unnecessary background, and even more so, to treat the background color as transparent (e.g. when exporting to PNG)? Cheers, Nico

Re: [Paraview] Background: trim, transparent?

2010-12-18 Thread Nico Schlömer
im dw)      ; save the cropped image      (gimp-file-save RUN-NONINTERACTIVE im dw outFile outFile)    ) ) ;EOF On 12/16/2010 04:43 PM, Nico Schlömer wrote: Hi all, for Paraview's Save Screenshot or Save Animation, is it possible to trim the resulting image to to get rid

Re: [Paraview] unstructured grid, programmable filters: extract, process array data

2011-02-16 Thread Nico Schlömer
variables) and atan(coordsX/coordsY) for the second example. It can operate on point or cell data (set in the Attribute Model drop-down menu), replace invalid numbers with a specified value, and you can name the resulting array as well. Andy 2011/2/15 Nico Schlömer nico.schloe...@gmail.com Hi all

[Paraview] time stepper: don't show every step?

2011-02-16 Thread Nico Schlömer
Hi all, I have a data file with many time steps and I'd like to quickly browse through it. Right now, the only thing I can do is click play and see ParaView loop through each and every time step. This can take a long time, particularly for complex data were rendering a frame takes a long time. I

Re: [Paraview] unstructured grid, programmable filters: extract, process array data

2011-02-16 Thread Nico Schlömer
Gallagher tim.gallag...@gatech.edu wrote: You can use the Python Calculator, which will let you use any valid Python expression -- such as math.atan2(). Tim - Original Message - From: Nico Schlömer nico.schloe...@gmail.com To: Andy Bauer andy.ba...@kitware.com Cc: paraview@paraview.org

Re: [Paraview] unstructured grid, programmable filters: extract, process array data

2011-02-16 Thread Nico Schlömer
in the web page of python calculator functions) so you may be stuck here unless someone else has an idea. Andy On Wed, Feb 16, 2011 at 10:25 AM, Nico Schlömer nico.schloe...@gmail.com wrote: That sounds *exactly* like what I need. Great! I'm having problems selecting the data sets though

[Paraview] Python + ParaView

2011-06-08 Thread Nico Schlömer
Hi, I'm just taking first steps with ParaView's Python interface and figured out so far that *snip* exodusReader = ExodusIIReader( FileName=solution.e ) Show( exodusReader ) Render() *snap* would plot the mesh that is stored in

Re: [Paraview] Python + ParaView

2011-06-08 Thread Nico Schlömer
, 2011 at 9:05 AM, Nico Schlömer nico.schloe...@gmail.com wrote: Hi, I'm just taking first steps with ParaView's Python interface and figured out so far that *snip* exodusReader = ExodusIIReader( FileName=solution.e ) Show( exodusReader ) Render

[Paraview] ParaView + Python: WriteImage screenshots broken?

2011-06-08 Thread Nico Schlömer
Hi, everytime I call WriteImage(test.png) from on the python interface, no screenshot is created and instead the error message == *snip* == X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 0

Re: [Paraview] ParaView + Python: WriteImage screenshots broken?

2011-06-08 Thread Nico Schlömer
Yeah, render works fine. --Nico On Wed, Jun 8, 2011 at 6:01 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Does simply calling  Render() work? Utkarsh On Wed, Jun 8, 2011 at 11:22 AM, Nico Schlömer nico.schloe...@gmail.com wrote: Hi, everytime I call   WriteImage(test.png

Re: [Paraview] Python + ParaView

2011-06-08 Thread Nico Schlömer
a list of 4 tuples (scalar, r, g, b), repeated sequentially. Utkarsh On Wed, Jun 8, 2011 at 11:19 AM, Nico Schlömer nico.schloe...@gmail.com wrote: Thanks for the hints. The Trace function in indeed quite useful in that it get you where you want to be. When looking at the code there's still

[Paraview] Cropped screenshots?

2011-06-09 Thread Nico Schlömer
Hey all, is there a way to autocrop a view or to generate cropped screenshots (via WriteImage()) natively in ParaView? So far I just write out the file and then crop it manually with another software which feels like correcting something that could be done properly straight away. Cheers, Nico

[Paraview] Screenshots with transparent background?

2011-06-10 Thread Nico Schlömer
Hi all, is there a way to set the transparency of the background for making screenshots? So far I've just found the option of setting an opaque background color. Cheers, Nico ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [Paraview] Screenshots with transparent background?

2011-06-10 Thread Nico Schlömer
. Please add it to uservoice. http://paraview.uservoice.com/forums/11350-general David E DeMarle Kitware, Inc. RD Engineer 28 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-371-3971 x109 On Fri, Jun 10, 2011 at 11:33 AM, Nico Schlömer nico.schloe...@gmail.com wrote: Hi all

Re: [Paraview] Python + ParaView

2011-06-16 Thread Nico Schlömer
(and the easier to use python programmable calculator variant of that) will get you beyond all of those limitations. David E DeMarle Kitware, Inc. RD Engineer 28 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-371-3971 x109 On Wed, Jun 8, 2011 at 12:11 PM, Nico Schlömer nico.schloe

Re: [Paraview] Python + ParaView

2011-06-16 Thread Nico Schlömer
math.atan2() to two components of an input vector: Exactly those functions appear to be documented which are available in the GUI. Hmm... --Nico On Thu, Jun 16, 2011 at 3:24 PM, Nico Schlömer nico.schloe...@gmail.com wrote: See the manual for the syntax. Where can I find that? The ParaView

Re: [Paraview] Python + ParaView

2011-06-16 Thread Nico Schlömer
to whatever help( calc1 ) just told me. -- Conditionals / atan2()? --Nico On Thu, Jun 16, 2011 at 3:45 PM, Nico Schlömer nico.schloe...@gmail.com wrote: Also, when *snip* import paraview.simple paraview version 3.10.1, Date: 2011-01-28 calc1

Re: [Paraview] Python + ParaView

2011-06-16 Thread Nico Schlömer
, Nico Schlömer nico.schloe...@gmail.com wrote: Okay, for everyone interested: I think I got it to work, somehow, with the help of http://www.itk.org/Wiki/ParaView/Users_Guide/Calculator. The atan2() function can be imitated in ParaView's calculator filter by == *snip

[Paraview] threshold filter for vector magnitudes?

2011-10-28 Thread Nico Schlömer
Hi, I have some Exodus files with complex-values on unstructured grids. The complex values are represented as vectors of size 2. By default, ParaView shows the Magntite of the vectors (equals the absolute value of the complex number). What I would like to have is a threshold plot of where the

[Paraview] Python paraview.simple: Zoom To Data?

2012-03-15 Thread Nico Schlömer
Hi, the ParaView GUI has this nifty little button action Zoom To Data which displays the current object such that it somehow fits its window. Is there a similar thing for the Python paraview.simple module? I'm trying to get a hang on it with certain view options such as view =

Re: [Paraview] Python paraview.simple: Zoom To Data?

2012-03-15 Thread Nico Schlömer
useful values, I usually set position to 0,0,0 and CameraFocalPoint to the view direction, say [1,0,0] to look along the X axis, then ResetCamera() will figure out where to put the camera while keeping the view direction intact. Pat On Thu, Mar 15, 2012 at 6:52 AM, Nico Schlömer nico.schloe

[Paraview] show only edges?

2012-05-29 Thread Nico Schlömer
Hi all, I have this tetrahedron as a VTK file. Is there any way to just display its edges? I found the Extract Edges filter, but that show all the edges of the discretization (whereas I'm only interested in the edges of the geometry). Cheers, Nico ___

Re: [Paraview] show only edges?

2012-05-29 Thread Nico Schlömer
in the ParaView GUI is available as attached file for bug 12619 (http://www.paraview.org/Bug/view.php?id=12619). Sven Nico Schlömer wrote, On 05/29/12 15:50: Hi all, I have this tetrahedron as a VTK file. Is there any way to just display its edges? I found the Extract Edges filter, but that show

[Paraview] visualizing vorticity

2012-07-13 Thread Nico Schlömer
Hi, I would like to visualize the vorticity of a given vector field using ParaView. I've just discovered the ComputeDerivatives filter (choosing Vorticity as Output Vector Type). I would now like to have the result of this calculation displayed as vector field (with arrows) or, even better, in

Re: [Paraview] visualizing vorticity

2012-07-14 Thread Nico Schlömer
properties in the preferences/setting to tell paraview to do that for you as needed. David E DeMarle Kitware, Inc. RD Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Fri, Jul 13, 2012 at 4:23 PM, Nico Schlömer nico.schloe...@gmail.com wrote: Hi, I would like

[Paraview] exodus attribute data

2012-07-24 Thread Nico Schlömer
Hi all, I have this Exodus file here that contains next to a bunch of transient field (i.e., fields that change in time) a set of attribute data, i.e., node data that is stored only once in the file. Paraview shows the transient data, but not the attribute data. Any way to debug? Cheers, Nico

[Paraview] cell vector data: glyphs?

2012-10-09 Thread Nico Schlömer
Hi, when displaying the glyphs of a vector field that is defined in the points mesh, everything looks fine. However, if the vector field is *cell*-based, what's the correct way to produce the glyphs here? I put a minimalistic example with the field (1,1,1) defined in both points and cells at

Re: [Paraview] cell vector data: glyphs?

2012-10-10 Thread Nico Schlömer
Indeed. Thanks! On Wed, Oct 10, 2012 at 9:02 AM, Gena Bug archaero...@mail.ru wrote: On Tuesday 09 October 2012 23:32:37 Nico Schlömer wrote: Hi, Hi! when displaying the glyphs of a vector field that is defined in the points mesh, everything looks fine. However, if the vector field

Re: [Paraview] cell vector data: glyphs?

2012-10-10 Thread Nico Schlömer
Even better! On Wed, Oct 10, 2012 at 11:39 AM, Felipe Bordeu felipe.bor...@ec-nantes.fr wrote: Le 09/10/2012 21:32, Nico Schlömer a écrit : Hi, Hi when displaying the glyphs of a vector field that is defined in the points mesh, everything looks fine. However, if the vector field is *cell

[Paraview] parallel Exodus: visualize distribution

2013-07-01 Thread Nico Schlömer
Hi all, given a set of parallel Exodus file, output.e.{1,2,3,...}, I can open the files as one to visualize the domain. Is there a way to visualize the distribution of the elements between the files? Cheers, Nico ___ Powered by www.kitware.com Visit

[Paraview] data panel aspect ratio 16:9

2013-07-15 Thread Nico Schlömer
Hi all, I would like to create an animation with the aspect ratio 16:9. To properly arrange the data, I'd like to force the data panel to have aspect ratio 16:9 as well. Is this possible in ParaView? Cheers, Nico ___ Powered by www.kitware.com Visit

[Paraview] WebM format

2013-09-04 Thread Nico Schlömer
Hi all, is it possible to create animation output in WebM format with Paraview? Right now, I first create an Ogg/Vorbis file and convert to WebM using avconv, which is somewhat time-consuming. Cheers, Nico ___ Powered by www.kitware.com Visit other

[Paraview] change default color map

2015-10-28 Thread Nico Schlömer
Hi everyone, Whenever I open new data in ParaView, it will first get displayed in the notorious blue-red colormap. I would like to change that default here to something more suitable for my cause, but couldn't find how. Any hints? Cheers, Nico ___

[Paraview] XDMF wrong format?

2015-12-18 Thread Nico Schlömer
Hi everyone, I'm creating XDMF files with VTK's XdmfWriter, and while the contents of the file look alright to me (representing two tetrahedra), ParaView 5.0RC1 will only show two triangles. Not sure where this is going wrong. The file is attached. Any hints? Cheers, Nico test.xmf

[Paraview] include could not find load file: vtkModuleAPI

2016-05-27 Thread Nico Schlömer
When configuring ParaView with ``` cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -Wno-dev -DBUILD_DOCUMENTATION=ON -DCMAKE_INSTALL_RPATH=/usr/lib/paraview

[Paraview] xdmf2 vs xdmf3 file type

2017-04-24 Thread Nico Schlömer
Hi everyone, I have a simulation code that spits out XDMF2 data (something.xdmf), and I can visualize that with ParaView by opening the file, then selecting XDMF over XDMF3 in a menu. Since I have to repeat this process often, I'm asking myself if there's a specific XDMF2 (or XDMF3) file

Re: [Paraview] xdmf2 vs xdmf3 file type

2017-04-25 Thread Nico Schlömer
gt; > David E DeMarle > Kitware, Inc. > R Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > > On Mon, Apr 24, 2017 at 4:58 PM, Nico Schlömer <nico.schloe...@gmail.com> > wrote: > >> Hi everyone, >> >> I hav

Re: [Paraview] xdmf2 vs xdmf3 file type

2017-05-17 Thread Nico Schlömer
ces/readers.xml > +++ b/ParaViewCore/ServerManager/SMApplication/Resources/readers.xml > @@ -5550,7 +5550,7 @@ > Available timestep values. > > > - + file_description="Xdmf Reader" /> > > > > > David E DeMarle > Kitware, Inc. > R En

Re: [Paraview] xdmf2 vs xdmf3 file type

2017-05-17 Thread Nico Schlömer
t; > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > > On Wed, May 17, 2017 at 5:05 AM, Nico Schlömer <nico.schloe...@gmail.com> > wrote: > >> Any chance of this landing upstream? >> >> Cheers, >> Nico >> >> O

[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