NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: Display axis

On Wed, 10 Apr 2002, Praktikanten-Account wrote:
> I create a 2 dimensional array
> float [][] werte = new float[][] {{-3.0f, -0.5f, 0.0f, 1.5f, 3.0f} ,
> {0.0f, 10.75f, 45.0f, 33.75f, 0.0f,} };
> Now i want to display these points in my display (x,y).
> My display draws the points but does not connect them to lines or
> curves.
> How can i connect these points without loosing the ability
> to choose the exact coordinates on both axis ?????

There are various ways, depending on exactly what you want to
see. Ugo's excellent tutorial explains a lot about this. See
visad/examples/Rivers.java for an example of how to draw a
set of lines or curves.

Good luck,
Bill


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