Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

20010122: Adding a Grid to an XY Plot

>From: "Clark, John G" <john.g.clark@xxxxxxxx>
>Keywords: 200101221542.f0MFgBe13330

John-

>I have a simple XY Plot that needs a gridlines on the display to help depict
>values.  Does VisAD have this capability.  Thus far, I have been unable to
>find any method or class that does this.  A Gridded1DSet/Gridded2DSet looked
>promising but after further inspection, it appeared that  this was really
>only for clustered data such as Gaussian distributions among others, not
>adding gridlines.  What do I need to do to add gridlines to my display?
>Thanks,

You can create a Union Set of Gridded 2D sets.  For a straight XY plot,
each Gridded2DSet should contain the endpoints of the line.  The UnionSet
would just be initialized with the array of Gridded2DSets.    If you 
need more info, let me know.

Don
*************************************************************
Don Murray                               UCAR Unidata Program
dmurray@xxxxxxxxxxxxxxxx                        P.O. Box 3000
(303) 497-8628                              Boulder, CO 80307
*************************************************************
Unidata WWW Server               http://www.unidata.ucar.edu/
McIDAS Demonstration Machine  http://mcdemo.unidata.ucar.edu/
*************************************************************


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690