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.
Hi Helen, > Suppose I have 200 points at location x[] and y[], I want to draw > those points at their location with different colors ( 200 different > color points ). > > How can I do it? Which example I can refer to? Create a FlatField with MathType (index -> (x, y, r, g, b)), create r[], g[] and b[] arrays of colors for your 200 points, pass 'new float[][] {x, y, r, g, b}' to the setSamples() method of your FlatField, and display with ScalarMaps x -> XAxis, y -> YAxis, r -> Red, g -> Green and b -> Blue. Good luck, Bill
visad
archives: