Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: VISAD 3D plots

Hi Arvind,

>   I'm a newbie to VISAD and have a bit of a pblm. I have a file with data
> as follows:
>
> 10 15 0.6
> 20 5  0.8
> 5 10  0.7
> ....
> ....

You can read this data using Tom's VisAD TextAdapter, as described at:

  http://www.ssec.wisc.edu/~billh/README.text

> The 1st and 2nd columns are on the X and Y axis and the 3rd column is the
> Z axis. I want to plot the Z axis as a bar with a height equal to the
> value (0.6 etc).
>
> Haven't been able to figure out how to do it..Any sample code would be a
> great help.

I highly recommend Ugo's tutorial to learn about such matters, at:

  http://www.geogr.uni-jena.de/~p6taug/visad/tutorial/index.html

Section 4.1 and its P4_01.java code provide an example of what
you want to do. But if you want to use VisAD, its a good idea to
work through the tutorial.

Good luck,
Bill


  • 2003 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: