[Paraview] Trying to plot signals to paraview

Moreland, Kenneth kmorel at sandia.gov
Wed Feb 4 11:18:48 EST 2009


ParaView is capable of reading in a regular grid of data, mapping a color to it, and drawing it scaled on the screen.  If your data is simply a raw array written to disk, then ParaView can read that in directly.  Does that basically solve your problem?

There are two ways to "erase" the useless points.  The first way is to simply set the color map up so that these values are simply drawn in the background color.  The second way is to use the "Threshold" filter to remove the uninteresting points.  The Threshold filter will convert the data from a regular array to an unstructured grid.  A warning about using Threshold though: the unstructured grid it converts data to is a less efficient representation so it is possible to actually require more data for the result if not a lot is removed.

-Ken


On 2/4/09 2:30 AM, "George Markomanolis" <paraview at markomanolis.com> wrote:

Dear all,

I am newbie to Paraview and I want to ask you something. I am working with signals and I use gnuplot for plotting. Unfortunately it's slow for big signals. Our program is parallel so we can create files of many GBs. We do a tricky parallel plot, every cpu plots a part of the signal, otherwise we couldn't see the image from gnuplot (crash). So when I saw paraview I liked a lot but it isn't easy.

I must explain what I want to plot:
We use a techinque in order to cut the points that haven't energy. For example a specific signal with 12000 x 12000 mesh of points which is 8GB file it can go under of 1GB if we cut the useless points. So I give at the gnuplot only the points that I want to plot x,y,z and I use pm3d map because I want them in 2D not 3D for example see the image: http://www.markomanolis.com/files/plots/plot.jpg
I would like to ask. Is this unstructured grid? I show an easy signal it could be with more random points. I have tried unstructured grid for 2 columns only and there is no surface between the columns. I used triangle strip and it was ok but I don't know if I could see the details like here (here I don't cut any useless point, in first image see wave details in the center):    http://www.markomanolis.com/files/plots/62_0_0.jpg , http://www.markomanolis.com/files/plots/resFinal.jpg   .
Could I have these plots with paraview or it is good with more complicated plots?
I must write a script/ program to convert gnuplot file to paraview but I am not sure about the topology, I must declare the topolgy for every point, right?  I am confused because I have a lot of constrains for example if a point is alone then the topology is vertex if there is another point then line etc... Is there any way to plot this grid with something like image data. I want to give something like structured grid but NOT to give all the points (I don't need them).  The last two images I sent you are with all the points for education propose. I want to plot something like first image but witho more complicated topology

Thank you for your time,
George Markomanolis



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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090204/cde991cb/attachment.htm>


More information about the ParaView mailing list