[Paraview] Large Data, local server

2018-02-08 Thread Scott, W Alan
Hi all,

Thought I would pass a success story around.  I just watched a user open a 102 
million cell dataset, with two thousand files per timestep, using 58 Gig of 
memory, on a standalone version of ParaView.   Slow, but it all held together.

ParaView rocks.

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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] Broken Streamlines

2018-02-08 Thread Berk Geveci
Hi Louis,

Very cool dataset. My guess is that there is a topology problem with this
dataset - some cells that are neighbors but don't exactly share vertices on
neighboring faces. Maybe hanging nodes because of some sort of refinement?
This is usually when the point locator fails. To locate a cell containing a
point, it first locates the closest point and then walks neighboring cells
until it finds a match. The walk will fail if two neighbor cells don't
actually share points because of some weird topology. The cell locators is
the fix to these issues. The reason it is not currently the default is
performance. We are working on improving the cell locator performance so
that it can be the default behavior in the future.

Also, as Andy mentioned, the ReasonForTermination array provides good info
for debugging such issues. Here are the possible values:

OUT_OF_DOMAIN = 0,
NOT_INITIALIZED = 1 ,
UNEXPECTED_VALUE = 2,
OUT_OF_LENGTH = 4,
OUT_OF_STEPS = 5,
STAGNATION = 6,

If you see OUT_OF_DOMAIN inside the mesh, it is usually an indication that
you should either fix your mesh or use the cell locator.

Best,
-berk


On Wed, Feb 7, 2018 at 3:28 PM, Steytler, Louis Louw 
wrote:

> Hi Everyone,
>
> Thanks very much for all the suggestions.
>
> Setting the streamline interpolator type to:
>
>
>
> *streamTracer1.InterpolatorType = 'Interpolator with Cell Locator' *solved
> the problem!
>
> Thanks  again,
>
> Louis Steytler
> Department of Mechanical Science and Engineering
> University of Illinois at Urbana-Champaign
> 1206 West Green Street
> Urbana, Il 61801
> steyt...@illinois.edu
> --
> *From:* Burlen Loring [blor...@lbl.gov]
> *Sent:* 07 February 2018 12:50 PM
> *To:* Steytler, Louis Louw
> *Subject:* Re: [Paraview] Broken Streamlines
>
> Hi Louis,
>
> Is there any chance this is the rendering precision issue called depth
> buffer fighting? What happens when you turn off display of the plane? Are
> the streamlines still broken?
>
> Burlen
>
>
> On 02/07/2018 09:06 AM, Steytler, Louis Louw wrote:
>
> Hi Everyone,
>
> When generating streamlines from a 3D computation, in some parts, the
> streamlines appear broken. This is shown in the attached image (the arrows
> point to the broken parts).
>
> Increasing the "Maximum Streamline Length" parameter did not help.
>
> Using the "Point to Cell Data" filter, and then generating streamlines on
> the cell data did not help.
>
> Although in the image shown the broken parts are in an area of low
> velocity, this happens in regions of high velocity as well. It also does
> not seem to depend on grid resolution, as the broken parts show up all over.
>
> Has anyone experienced anything like this? Any ideas how to work around
> this?
>
> Thanks very much,
>
> Louis Steytler
> Department of Mechanical Science and Engineering
> University of Illinois at Urbana-Champaign
> 1206 West Green Street
> Urbana, Il 61801
> steyt...@illinois.edu
>
>
> ___
> 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

[Paraview] Finding Data Range Over All Timesteps Python

2018-02-08 Thread Bane Sullivan
I’m curious if there is a way to calculate the range of a data array over
all time steps much like the “Rescale to data range over all time steps.”

I want to calculate this data range in a Python Programmable Filter in the
RequestInformation() script so that at the start, I have the total range
over all time steps to then perform a normalization over that range in the
RequestData() script that uses that total data range rather than the range
of the data array at that given timestep.

Currently my workaround is: View by the data array -> Start recording a
Trace -> Rescale the colormap to data range over all time steps -> Stop
Trace -> find the range given to the RescaleTransferFunction in the Trace->
hardcode those values into the python programmable filter to perform the
normalization over that min/max range.

Thanks,

Bane
https://github.com/banesullivan/ParaViewGeophysics
___
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] paraview-superbuild Qt5 not found

2018-02-08 Thread Ben Boeckel
On Thu, Feb 08, 2018 at 15:46:27 +, Hermitte Luc (CS SI) wrote:
> I'm calling cmake with the following options?:
> cmake -Dqt5_enabled=On -DUSE_SYSTEM_qt5=On(/Off) 
> -DQt5_DIR=/path/to/qt/5.9.1/lib/cmake/Qt5 ..

The input setting is `ENABLE_qt5`. The `qt5_enabled` variable indicates
whether Qt5 is being built or not (either by request or because of a
dependency). It's value is set internally and the cache value is not
used.

--Ben
___
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] paraview-superbuild Qt5 not found

2018-02-08 Thread Hermitte Luc (CS SI)
Hi,

I'm trying to build paraview with the superbuild procedure, and with a custom 
install of Qt5.

I'm calling cmake with the following options :
cmake -Dqt5_enabled=On -DUSE_SYSTEM_qt5=On(/Off) 
-DQt5_DIR=/path/to/qt/5.9.1/lib/cmake/Qt5 ..

Note that, in doubt, I've also exported Qt5_DIR as an environment variable.

Alas I observe errors like the following

---
CMake Error at superbuild/cmake/patches/ExternalProject.cmake:2295 
(get_property):
  get_property could not find TARGET qt5.  Perhaps it has not yet been
  created.
Call Stack (most recent call first):
  superbuild/cmake/patches/ExternalProject.cmake:2568 
(_ep_add_configure_command)
  superbuild/cmake/SuperbuildExternalProject.cmake:183 (ExternalProject_add)
  superbuild/cmake/SuperbuildMacros.cmake:881 (_superbuild_ExternalProject_add)
  superbuild/cmake/SuperbuildMacros.cmake:674 (_superbuild_add_project_internal)
  superbuild/CMakeLists.txt:124 (superbuild_process_dependencies)

...
---


If I don't set qt5_enabled, and if instead I go into the build sub-directory 
superbuild/paraview/build/ and rerun cmake with "-DPARAVIEW_BUILD_QT_GUI=On" I 
can succeed. Alas it kind of defects the purpose of a superbuild.

Did I miss something, or is this a bug like the one reported for HDF5 last year?

Regards,

-- 
Luc Hermitte
___
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] Visualize equdistant cell-centered data

2018-02-08 Thread Cory Quammen
Henrik,

I believe I understand what you are trying to do. However, there is nothing
available in ParaView to do this simply.

You could use the Programmable Filter to create a new structured grid with
the C+1 number of points in each dimension and then set the point data
array in the C-sized grid to be a cell data array in the (C+1)-sized grid.
The data layout is such that that should work. However, you will need to
set up the points manually.

Hope that helps,
Cory

On Thu, Feb 8, 2018 at 5:42 AM, Buesing, Henrik <
hbues...@eonerc.rwth-aachen.de> wrote:

> Ok. Let me rephrase my question. Maybe someone speaks Matlab? Full Matlab
> Code below (see [1]).
>
>
>
> Let’s assume I have a 2x2 matrix with color values C=[1 2; 3 4]. Now I can
> visualize this matrix with on a 2x2 grid with surf in Matlab. What I get is
> one square with the color values on each node (see Case 1 in the Matlab
> code). This is what Paraview does!
>
>
>
> What I want is the following: I define a new grid, which is 3x3. So one
> value more in each direction than I have color values. On this grid the
> color values live cell-centered. If I now visualize this in Matlab, I get a
> 2x2 block matrix with color values from 1-4. This is what I want!
>
>
>
> To sum up: I want to keep my color values, but I want to define a new
> cell-centered grid (with size(C,1)+1) where these color values live on. Is
> this somehow possible in Paraview?
>
> Thank you!
> Henrik
>
>
>
>
>
>
>
> [1]
>
>
>
> % Full Matlab Code to visualize the two cases.
>
>
>
> C = [1 2; 3 4];
>
>
>
> % Case 1
>
> x=linspace(0,1,size(C,1));
>
> y=x;
>
> [X,Y]=meshgrid(x,y);
>
> Z=zeros(size(C));
>
> figure;surf(X,Y,Z,C);shading interp;view(0,90);
>
> colorbar
>
>
>
> % Case 2
>
> x=linspace(0,1,size(C,1)+1);
>
> y=x;
>
> [X,Y]=meshgrid(x,y);
>
> Z=zeros(size(C)+1);
>
> figure;surf(X,Y,Z,C);shading flat;view(0,90);
>
> colorbar
>
>
>
> --
>
> Dipl.-Math. Henrik Büsing
>
> Institute for Applied Geophysics and Geothermal Energy
>
> E.ON Energy Research Center
>
> RWTH Aachen University
>
>
>
> Mathieustr. 10| Tel +49 (0)241 80 49907 <+49%20241%208049907>
>
> 52074 Aachen, Germany | Fax +49 (0)241 80 49889 <+49%20241%208049889>
>
>
>
> http://www.eonerc.rwth-aachen.de/GGE
>
> hbues...@eonerc.rwth-aachen.de
>
>
>
> *Von:* ParaView [mailto:paraview-boun...@paraview.org] *Im Auftrag von 
> *Buesing,
> Henrik
> *Gesendet:* Freitag, 19. Januar 2018 21:13
> *An:* paraview@paraview.org
> *Betreff:* [Paraview] Visualize equdistant cell-centered data
>
>
>
> Dear all,
>
>
>
> I have a “Structured (Curvilinear) Grid” (*.vts), which gets read in as
> 314531 cells and 33 points. I would like to tell Paraview that this is
> equidistant cell-centered data (33 cells). I want every cell to get one
> color, such that color interpolation becomes correct.
>
>
>
> Can I somehow convert the data I have?
>
>
>
> Thank you!
> Henrik Büsing
>
>
>
> ___
> 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
>
>


-- 
Cory Quammen
Staff R&D 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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] ParaView Digest, Vol 166, Issue 7

2018-02-08 Thread yaman ozakin
 Same here.

I think the unnecessarily complicated unsubscription system might be
broken. I can't reach the next step after pasting the confirmation string.
Not to mention that *there is a next step* after clicking a link in a
confirmation email and then pasting the confirmation string. Whose idea was
it to make unsubscribing more secure than most banking web sites? :)


---
Yaman Özakın *<:^)
Research Assistant - Geophysics
earth.usc.edu/~ozakin/
University of Southern California

On Thu, Feb 8, 2018 at 3:37 PM, yaman ozakin  wrote:

> Same here.
>
> I think the unnecessarily complicated unsubscription system might be
> broken. I can't reach the next step after pasting the confirmation string.
> Not to mention that *there is a next step* after clicking a link in a
> confirmation email and then pasting the confirmation string. Whose idea was
> it to make unsubscribing more secure than most banking web sites? :)
>
> ---
> Yaman Özakın *<:^)
> Research Assistant - Geophysics
> earth.usc.edu/~ozakin/
> University of Southern California
>
> On Thu, Feb 8, 2018 at 2:58 PM, Ott Richard 
> wrote:
>
>> come on! I've unsubscribed 3 times now, why do I still get these mails???
>>
>>
>> Richard Ott
>> ETH Zürich
>> PhD student
>>
>> Sonneggstrasse 5
>>
>> 8092 Zürich
>>
>> +41 44 633 89 06
>> richard@erdw.ethz.ch
>>
>> 
>> Von: ParaView [paraview-boun...@paraview.org]" im Auftrag von &
>> quot;paraview-requ...@paraview.org [paraview-requ...@paraview.org]
>> Gesendet: Mittwoch, 7. Februar 2018 18:00
>> An: paraview@paraview.org
>> Betreff: ParaView Digest, Vol 166, Issue 7
>>
>> Send ParaView mailing list submissions to
>> paraview@paraview.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__paravie
>> w.org_mailman_listinfo_paraview&d=DwIFAw&c=clK7kQUTWtAVEOVIg
>> vi0NU5BOUHhpN0H8p7CSfnc_gI&r=pOEltBBB0Tkd7ps2jHF3Rw&m=CjwAzA
>> 9C4irLYtyTmA5pL1A9-8OpnnJfRm5prt3jY30&s=IOgSJbhLIqDth5hfwji8
>> 0Sn265ivYIaOg9ZejY9WXEI&e=
>> or, via email, send a message with subject or body 'help' to
>> paraview-requ...@paraview.org
>>
>> You can reach the person managing the list at
>> paraview-ow...@paraview.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of ParaView digest..."
>>
>>
>> Today's Topics:
>>
>>1. file naming of downloadable data files (th.la...@arcor.de)
>>2. Re: PythonFullExample does not send any data (Andy Bauer)
>>3. Re: Using Probe Filter To Get The Average Value Around A
>>   Point (Jeremias Gonzalez)
>>4. Re: Using Probe Filter To Get The Average Value Around A
>>   Point (Moreland, Kenneth)
>>
>>
>> --
>>
>> Message: 1
>> Date: Tue, 6 Feb 2018 18:32:54 +0100 (CET)
>> From: th.la...@arcor.de
>> To: paraview@paraview.org
>> Subject: [Paraview] file naming of downloadable data files
>> Message-ID: <173864583.16224.1517938374...@mail.vodafone.de>
>> Content-Type: text/plain; charset=UTF-8
>>
>> Hi all,
>>
>> the data files https://urldefense.proofpoint.
>> com/v2/url?u=https-3A__www.paraview.org_paraview-2Ddownloads
>> _download.php-3Fsubmit-3DDownload-26version-3Dv5.4-
>> 26type-3Dbinary-26os-3DSources-26downloadFile-3DParaViewData
>> -2Dv5.4.1.tar.gz&d=DwIFAw&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H
>> 8p7CSfnc_gI&r=pOEltBBB0Tkd7ps2jHF3Rw&m=CjwAzA9C4irLYtyTmA5pL
>> 1A9-8OpnnJfRm5prt3jY30&s=RIZnMnFOPOSN6pgZvN-RcuPn6FPrUByb7kI6Gy8ATtU&e=
>> e.g. have a confusing file naming :(
>>
>> What's the intention for this? Thus I could hardly identify the wanted
>> file :[
>>
>> Many thanks for an explanation
>> Thomas
>>
>>
>> --
>>
>> Message: 2
>> Date: Tue, 6 Feb 2018 17:40:40 -0500
>> From: Andy Bauer 
>> To: "Michalke, Simon" 
>> Cc: paraview@paraview.org
>> Subject: Re: [Paraview] PythonFullExample does not send any data
>> Message-ID:
>> > gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hi Simon,
>>
>> I'm confused a to where the data is being sent from and to. If it's from
>> the simulation and to the adaptor then all of that would get done before
>> Catalyst would ever see it. If it's from the adaptor to Catalyst or to the
>> PV GUI through the Live connection you'll probably want to look at
>> coprocessing.py and grep through it for "live". I don't look too often at
>> the Live sections of the code so it would take a bit of time to go through
>> all of the details on it properly.
>>
>> Best,
>> Andy
>>
>> On Tue, Feb 6, 2018 at 10:44 AM, Michalke, Simon 
>> wrote:
>>
>> > Thank you very much, it works now.
>> >
>> > Since I am getting the initial data via http and process it manually, is
>> > there a way to "directly" open a connection and send data? I think the
>> > coprocessor structure is not suitable for my case. Something like:
>> >
>> > con = openConnection()
>> >
>> > con.sendData(

Re: [Paraview] ParaView Digest, Vol 166, Issue 7

2018-02-08 Thread Ott Richard
come on! I've unsubscribed 3 times now, why do I still get these mails???


Richard Ott
ETH Zürich
PhD student

Sonneggstrasse 5

8092 Zürich

+41 44 633 89 06
richard@erdw.ethz.ch


Von: ParaView [paraview-boun...@paraview.org]" im Auftrag von 
"paraview-requ...@paraview.org [paraview-requ...@paraview.org]
Gesendet: Mittwoch, 7. Februar 2018 18:00
An: paraview@paraview.org
Betreff: ParaView Digest, Vol 166, Issue 7

Send ParaView mailing list submissions to
paraview@paraview.org

To subscribe or unsubscribe via the World Wide Web, visit
https://paraview.org/mailman/listinfo/paraview
or, via email, send a message with subject or body 'help' to
paraview-requ...@paraview.org

You can reach the person managing the list at
paraview-ow...@paraview.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ParaView digest..."


Today's Topics:

   1. file naming of downloadable data files (th.la...@arcor.de)
   2. Re: PythonFullExample does not send any data (Andy Bauer)
   3. Re: Using Probe Filter To Get The Average Value Around A
  Point (Jeremias Gonzalez)
   4. Re: Using Probe Filter To Get The Average Value Around A
  Point (Moreland, Kenneth)


--

Message: 1
Date: Tue, 6 Feb 2018 18:32:54 +0100 (CET)
From: th.la...@arcor.de
To: paraview@paraview.org
Subject: [Paraview] file naming of downloadable data files
Message-ID: <173864583.16224.1517938374...@mail.vodafone.de>
Content-Type: text/plain; charset=UTF-8

Hi all,

the data files 
https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v5.4&type=binary&os=Sources&downloadFile=ParaViewData-v5.4.1.tar.gz
 e.g. have a confusing file naming :(

What's the intention for this? Thus I could hardly identify the wanted file :[

Many thanks for an explanation
Thomas


--

Message: 2
Date: Tue, 6 Feb 2018 17:40:40 -0500
From: Andy Bauer 
To: "Michalke, Simon" 
Cc: paraview@paraview.org
Subject: Re: [Paraview] PythonFullExample does not send any data
Message-ID:

Content-Type: text/plain; charset="utf-8"

Hi Simon,

I'm confused a to where the data is being sent from and to. If it's from
the simulation and to the adaptor then all of that would get done before
Catalyst would ever see it. If it's from the adaptor to Catalyst or to the
PV GUI through the Live connection you'll probably want to look at
coprocessing.py and grep through it for "live". I don't look too often at
the Live sections of the code so it would take a bit of time to go through
all of the details on it properly.

Best,
Andy

On Tue, Feb 6, 2018 at 10:44 AM, Michalke, Simon 
wrote:

> Thank you very much, it works now.
>
> Since I am getting the initial data via http and process it manually, is
> there a way to "directly" open a connection and send data? I think the
> coprocessor structure is not suitable for my case. Something like:
>
> con = openConnection()
>
> con.sendData(data)
> con.sendData(data)
> con.sendData(data)
>
> con.close()
>
> where data is something like vtkPolyData. Or, alternatively transfer the
> grid at the beginning and only send the data as vtk*Array itself after
> first initialization.
>
> Cheers,
> Simon
>
>
> Am 2018-02-06 14:18, schrieb Andy Bauer:
>
>> In  cpscript.py you will need to change the following line:
>> coprocessor.EnableLiveVisualization(False, 1)
>>
>> to:
>> coprocessor.EnableLiveVisualization(True, 1)
>>
>> As for building VTK objects through the Python API, the VTK Examples at
>> https://lorensen.github.io/VTKExamples/site/Python/ should have several
>> will help you out.
>>
>> Cheers,
>> Andy
>>
>> On Tue, Feb 6, 2018 at 4:37 AM, Michalke, Simon 
>> wrote:
>>
>> Hello,
>>>
>>> I am trying to code a tool to send live data from a simulation to
>>> paraview. I build my paraview with the latest superbuild and with system
>>> python (3.4m). Then I tried to run the "PythonFullExample". After
>>> un-commenting line 25 in fedriver.py:
>>> coprocessor.addscript("cpscript.py")
>>> the script still does not send any data. There are no error messages as
>>> well. I made sure that paraview is listening to the correct port.
>>>
>>> In general, I cannot find any python example on how to attach values to a
>>> poly element or a point.
>>>
>>> Regards,
>>> Simon Michalke
>>> ___
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensou
>>> rce/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
>>>
>>>
-- next part --
An HTML attachment was scrubbed...
URL

Re: [Paraview] Visualize equdistant cell-centered data

2018-02-08 Thread Buesing, Henrik
Ok. Let me rephrase my question. Maybe someone speaks Matlab? Full Matlab Code 
below (see [1]).

Let's assume I have a 2x2 matrix with color values C=[1 2; 3 4]. Now I can 
visualize this matrix with on a 2x2 grid with surf in Matlab. What I get is one 
square with the color values on each node (see Case 1 in the Matlab code). This 
is what Paraview does!

What I want is the following: I define a new grid, which is 3x3. So one value 
more in each direction than I have color values. On this grid the color values 
live cell-centered. If I now visualize this in Matlab, I get a 2x2 block matrix 
with color values from 1-4. This is what I want!

To sum up: I want to keep my color values, but I want to define a new 
cell-centered grid (with size(C,1)+1) where these color values live on. Is this 
somehow possible in Paraview?

Thank you!
Henrik



[1]

% Full Matlab Code to visualize the two cases.

C = [1 2; 3 4];

% Case 1
x=linspace(0,1,size(C,1));
y=x;
[X,Y]=meshgrid(x,y);
Z=zeros(size(C));
figure;surf(X,Y,Z,C);shading interp;view(0,90);
colorbar

% Case 2
x=linspace(0,1,size(C,1)+1);
y=x;
[X,Y]=meshgrid(x,y);
Z=zeros(size(C)+1);
figure;surf(X,Y,Z,C);shading flat;view(0,90);
colorbar

--
Dipl.-Math. Henrik Büsing
Institute for Applied Geophysics and Geothermal Energy
E.ON Energy Research Center
RWTH Aachen University

Mathieustr. 10| Tel +49 (0)241 80 49907
52074 Aachen, Germany | Fax +49 (0)241 80 49889

http://www.eonerc.rwth-aachen.de/GGE
hbues...@eonerc.rwth-aachen.de

Von: ParaView [mailto:paraview-boun...@paraview.org] Im Auftrag von Buesing, 
Henrik
Gesendet: Freitag, 19. Januar 2018 21:13
An: paraview@paraview.org
Betreff: [Paraview] Visualize equdistant cell-centered data

Dear all,

I have a "Structured (Curvilinear) Grid" (*.vts), which gets read in as 314531 
cells and 33 points. I would like to tell Paraview that this is equidistant 
cell-centered data (33 cells). I want every cell to get one color, such 
that color interpolation becomes correct.

Can I somehow convert the data I have?

Thank you!
Henrik Büsing

___
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