Re: [visad] new to visAD

Hi Robert,

I'm still learning some of this stuff myself, but I was able to hack together an example that uses a Gridded3DSet (attached).

--bruce

Attachment: GridTest.java
Description: Binary data




On Mar 19, 2009, at 3:45 AM, Robert Stones wrote:

Hi

I am new to visAD and I am having trouble in getting my head round converting my 3D data
to the visAD data objects.

Do you have a very simple example - if I have a file with:

x  y     z
1  3     6
2  12    4
8  18    5
9  4     7

how do I get this into a simple Set (3DGriddedSet - none linear) that I can then display
in a 3D display.

also for data where its irregular using Iregular3DSet - just a simple example using the
simple data above.

Struggling to follow the tutorials - a simple example of just reading in the data would
get me on my way.

Thanks

Robert

CSL Bioinformatics Internet Pages at http://bioinformatics.csl.gov.uk
----------------------------------------------------------------------
Robert Stones MRes, BSc Phone: +44 (0)1904 462675
Higher Bioinformatics Specialist        GTN:    5129 2675
Central Science Laboratory              Fax:    +44 (0)1904 462111
Sand Hutton                             Email:  r.stones@xxxxxxxxxx
York YO41 1LZ                           Web:    http://www.csl.gov.uk
----------------------------------------------------------------------

_______________________________________________
visad mailing list
visad@xxxxxxxxxxxxxxxx
For list information, to unsubscribe, visit: 
http://www.unidata.ucar.edu/mailing_lists/