Re: scatter plot and mark each data point with a shape

Hi Helen,

> I have composed a simple code (see below) to do 2D scatter, but I see no data
> points on the screen marked by the defined shape square.  Can anyone tell me
> what I did wrong in the folowing code?

Switch the order of setShapes() and setShapeSet(), so it is:

        shape_control.setShapeSet(count_set);
        shape_control.setShapes(shapes);

Cheers,
Bill


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