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.
Hello,I want to show only data points in 3D space. I have used the following code to do that:
Irregular3DSet testset = new Irregular3DSet(xyz,testsamples); DataReferenceImpl points_ref = new DataReferenceImpl("points_ref"); points_ref.setData((Set)testset); ConstantMap[] pointsCMap = { new ConstantMap( 1.0f, Display.Red ), new ConstantMap( 0.0f, Display.Green ), new ConstantMap( 0.0f, Display.Blue ), new ConstantMap( 5.50f, Display.PointSize ) }; display.addReference( points_ref, pointsCMap );However, this method is very slow. Is there another function or better method to accomplish this?
thanks, john
visad
archives: