[Paraview] Data range problem

Lester Anderson lester_anderson1963 at hotmail.com
Sun Oct 12 17:54:36 EDT 2008


I have used a plain text editor to write a simple ascii structure, and also tried using Surfer (Golden Sofware) to prepare .DAT file do the same (eg space delimited or comma delimited). Basically I am testing a simple ascii text file structure and it ckearly loads the data (points plot where they should be), but it is unclear how to set the data type. If we are dealing with positive an negative numbers then I assume that means we need a signed integer or real number type.
 
Perhaps if you could show an example data file that works in the raw import as an xyz,value it might be clearer as to how to proceed. Thanks for the help, I'm sure I'm missing something very obvious here just can't put my finger on it yet!
 
Lester> From: dominik at itis.ethz.ch> To: lester_anderson1963 at hotmail.com> Subject: Re: [Paraview] Data range problem> Date: Sun, 12 Oct 2008 20:58:52 +0200> CC: paraview at paraview.org> > How do you write the data to a file?> > Dominik> > On Sunday 12 October 2008 02:36:27 pm Lester Anderson wrote:> > Hi Dominik> >> > So how can I define the correct datatype? For example, if it is just signed> > integers like the test I made (-5 to +5), or real numbers (eg -2.54 to> > 5.55). I set the file to LittleEndian as I'm on a PC> >> > Importing the data via the raw format is working, it's just working out the> > correct type to make it work!> >> > Thanks for the help> >> > Lester > From: dominik at itis.ethz.ch> To: paraview at paraview.org> Subject:> > Re: [Paraview] Data range problem> Date: Sun, 12 Oct 2008 12:17:03 +0200>> > CC: lester_anderson1963 at hotmail.com> > You most likely imposed wrong> > datatype when importing the raw stuff.> > Dominik> > On Sunday 12 October> > 2008 10:55:18 am Lester Anderson wrote:> > Hello> >> > I have just created> > a test as a set of random values:> >> >> > "x","y","z","grav"0,0,0,20,0,1,30,0,2,50,1,0,-10.1.1,-30,1,2,-50.2.0,10,2,1> >>> > >,20,2,2,51,0,0,-31,0,1,-41,0,2,-11,1,0,01.1.1,-21,1,2,21.2.0,11,2,1-11,2,2> >,0> >2,0,0,02,0,1-52,0,2,-42,1,0,-12.1.1,12,1,2,22.2.0,52,2,1,42,2,2,4> >> >> > It is a cube of point values (x,y,z) with a test scalar (grav). The data> >> > range of "grav" is -5 to +5> >> > I imported the data into Paraview as a> > raw(binary) format file which seemed> > ok, with the extents: 0 to 2 on> > (x,y,z). The result was a Image (uniform> > Rectilinear Grid)> >> > When I> > look at the data information it shows the data range as 2573, 13612> >> > (min,max) - what is going on here?> >> > Thanks> >> > Lester> >> > _________________________________________________________________> > Make a> > mini you and download it into Windows Live Messenger> >> > http://clk.atdmt.com/UKM/go/111354029/direct/01/> > > > -- > Dominik> > Szczerba, Ph.D.> Computational Physics Group> Foundation for Research on> > Information Technologies in Society> http://www.itis.ethz.ch> > _________________________________________________________________> > Make a mini you and download it into Windows Live Messenger> > http://clk.atdmt.com/UKM/go/111354029/direct/01/> > > > -- > Dominik Szczerba, Ph.D.> Computational Physics Group> Foundation for Research on Information Technologies in Society> http://www.itis.ethz.ch
_________________________________________________________________
Make a mini you and download it into Windows Live Messenger
http://clk.atdmt.com/UKM/go/111354029/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20081012/a9fb6168/attachment.htm>


More information about the ParaView mailing list