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: ploting only points in 2D

Hi Vladimir,

> I'd like to make a 2D plot drawing only points.
> (in 3D it's easy to do it :
> graphicsModeControl.setPolygonMode(DisplayIpmlJ3D.POLYGON_POINT)).
> 
> Is there an easy way to do it in 2D? (I'd like to avoid using the method
> described in the
> VisAD Tutorial 2.3 : Plotting points by using a different MathType)

Try:

  display.getGraphicsModeControl().setPointMode(true);

That should do it for you.

Cheers,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html


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