dk.dmi.jog
Class GridGraphics

java.lang.Object
  extended bydk.dmi.jog.GridGraphics

public class GridGraphics
extends Object

An graphics class for displaying Grid data. In this version only contouring is supported. Other kinds of graphics will be supported in future versions.


Method Summary
 JPlotLayout contourGridXY(int k, int t)
          Makes a contour plot of a given vertical level at a given time of a Grid.
static GridGraphics getInstance(Grid g)
          Returns a GridGraphics representation of the arguments.
 SimpleGrid getSimpleGrid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

contourGridXY

public JPlotLayout contourGridXY(int k,
                                 int t)
Makes a contour plot of a given vertical level at a given time of a Grid.

Parameters:
k - vertical level to contour.
t - time step to contour.
Returns:
a GridGraphics representation of the arguments.

getInstance

public static GridGraphics getInstance(Grid g)
Returns a GridGraphics representation of the arguments.

Parameters:
g - Grid to contour.
Returns:
a GridGraphics representation of the arguments.

getSimpleGrid

public SimpleGrid getSimpleGrid()