[Paraview] xdmf: orders of Origin DXDYDZ arrays in Origin_DXDYDZ

2015-05-19 Thread Liang Wang
In the first place, I do not understand the difference between 3DRectMesh and 3DCoRectMesh. I picked the following coordinate for testing: Nz,Ny,Nx = [80, 90, 100] z0,y0,x0 = [-3.,-2.,-1.] lz,ly,lx = [Nz*3,Ny*2,Nx] dz,dy,dx = [lz/(Nz-1), ly/(Ny-1), lx/(Nx-1)] I found I have to use the following

Re: [Paraview] Attach arrows onto streamlines/stream tubes more smoothly

2017-03-15 Thread Liang Wang
gt; >> the arrow is centered along the streamline. Maybe try using using > either a > >> non-zero value for the Shaft radius that is bigger than the Tube radius > or > >> use the Cone glyph type instead. > >> > >> On Wed, Mar 15, 2017 at 5:59 PM,

Re: [Paraview] StreamTracer: Combined ReasonForTermination or select individual polylines?

2017-03-14 Thread Liang Wang
A follow-up question: How to perform the `Find Data` by `criteria` in Python? I tried to record a macro but only got extractSelection1 = ExtractSelection(Input=tube1, Selection=None) On Tue, Mar 14, 2017 at 3:47 PM, Liang Wang <frank0...@gmail.com> wrote: > Thank you, Andy

Re: [Paraview] Python: How to change the location and size of orientation axes?

2017-04-08 Thread Liang Wang
() On Sat, Apr 8, 2017 at 7:46 PM, Liang Wang <frank0...@gmail.com> wrote: > I figured out a way by using the vtkAxesActor class directly. > > An example script: > > from paraview.simple import * > paraview.simple._DisableFirstRenderCameraReset() > > renderView1 = Get

[Paraview] Python API to set color palette?

2017-03-11 Thread Liang Wang
I don't find a dedicated Python function to set color palette. It does not appear to be an option to the simple.SaveScreenshot function either. Or, can I directly set each color available in the Edit -> Settings -> Color Palette? Best, Liang ___

[Paraview] Plain text data with white space delimiters; Use raw array as axis/variables

2018-01-26 Thread Liang Wang
Hi All, 1) Does the ParaView GUI read a plain text file with white space as delimiters? 2) Can ParaView use a giving 1d array as an axis? My problem: I have a plain text data file, each column is a different variable, and delimiters are white space, e.g., x y z variable1 variable 2 Is there a

Re: [Paraview] Plain text data with white space delimiters; Use raw array as axis/variables

2018-01-26 Thread Liang Wang
tion. > > On Fri, Jan 26, 2018 at 8:33 AM, Liang Wang <frank0...@gmail.com> wrote: > >> Hi All, >> >> 1) Does the ParaView GUI read a plain text file with white space as >> delimiters? >> 2) Can ParaView use a giving 1d array as an axis? >> >> My