<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi Dominik<BR>
&nbsp;<BR>
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<BR>
&nbsp;<BR>
Importing the data via the raw format is working, it's just working out the correct type to make it work!<BR>
&nbsp;<BR>
Thanks for the help<BR>
&nbsp;<BR>
Lester<BR>&nbsp;<BR>&gt; From: dominik@itis.ethz.ch<BR>&gt; To: paraview@paraview.org<BR>&gt; Subject: Re: [Paraview] Data range problem<BR>&gt; Date: Sun, 12 Oct 2008 12:17:03 +0200<BR>&gt; CC: lester_anderson1963@hotmail.com<BR>&gt; <BR>&gt; You most likely imposed wrong datatype when importing the raw stuff.<BR>&gt; <BR>&gt; Dominik<BR>&gt; <BR>&gt; On Sunday 12 October 2008 10:55:18 am Lester Anderson wrote:<BR>&gt; &gt; Hello<BR>&gt; &gt;<BR>&gt; &gt; I have just created a test as a set of random values:<BR>&gt; &gt;<BR>&gt; &gt; "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<BR>&gt; &gt;,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<BR>&gt; &gt;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<BR>&gt; &gt;<BR>&gt; &gt; It is a cube of point values (x,y,z) with a test scalar (grav). The data<BR>&gt; &gt; range of "grav" is -5 to +5<BR>&gt; &gt;<BR>&gt; &gt; I imported the data into Paraview as a raw(binary) format file which seemed<BR>&gt; &gt; ok, with the extents: 0 to 2 on (x,y,z). The result was a Image (uniform<BR>&gt; &gt; Rectilinear Grid)<BR>&gt; &gt;<BR>&gt; &gt; When I look at the data information it shows the data range as 2573, 13612<BR>&gt; &gt; (min,max) - what is going on here?<BR>&gt; &gt;<BR>&gt; &gt; Thanks<BR>&gt; &gt;<BR>&gt; &gt; Lester<BR>&gt; &gt; _________________________________________________________________<BR>&gt; &gt; Make a mini you and download it into Windows Live Messenger<BR>&gt; &gt; http://clk.atdmt.com/UKM/go/111354029/direct/01/<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; -- <BR>&gt; Dominik Szczerba, Ph.D.<BR>&gt; Computational Physics Group<BR>&gt; Foundation for Research on Information Technologies in Society<BR>&gt; http://www.itis.ethz.ch<BR><BR><br /><hr />Win £3000 to spend on whatever you want at Uni! <a href='http://clk.atdmt.com/UKM/go/111354032/direct/01/' target='_new'>Click here to WIN!</a></body>
</html>